Statistics
| Branch: | Revision:

root / scripts @ 34bb443e

# Date Author Comment
34bb443e 07/17/2012 11:43 pm Anthony Liguori

build: add make dist target (v2)

Let's stop screwing up releases by having a script do the work that Anthony's
fat fingers can't seem to get right.

Cc: Michael Roth <>
Reviewed-by: Eric Blake <>
Tested-by: Michael Roth <>...

e0a3dc7c 06/26/2012 11:09 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

  • stefanha/trivial-patches:
    tci: Support INDEX_op_bswap64_i64
    target-i386: Use QEMU instead of Qemu
    Makefile.hw: avoid overly large 'make clean' rm command
    configure: Fix typo
    arm_gic: Send dbg msgs to stderr not stdout...
9964d8f9 06/22/2012 11:41 am Stefan Weil

checkpatch: Add QEMU specific rule

The new rule detects two wrong variants of QEMU.
It was tested with commit b5a8fe5e.

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

c5854acb 06/18/2012 04:32 pm Jens Freimann

s390: make kvm_stat work on s390

Add s390_exit_reasons so kvm_stat doesn't crash when called on s390.
Look for 'vendor_id' in /proc/cpuinfo as well, instead of just for
'flags', so we can determine if we run on S390.

Signed-off-by: Jens Freimann <>...

74f4d227 06/03/2012 02:56 am Anthony Liguori

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

  • qemu-kvm/uq/master:
    virtio/vhost: Add support for KVM in-kernel MSI injection
    msix: Add msix_nr_vectors_allocated
    kvm: Enable use of kvm_irqchip_in_kernel in hwlib code
    kvm: Introduce kvm_irqchip_add/remove_irqfd...
287d55c6 05/18/2012 05:30 am Avi Kivity

kvm: update vmxcap for EPT A/D, INVPCID, RDRAND, VMFUNC

Signed-off-by: Avi Kivity <>
Signed-off-by: Marcelo Tosatti <>

d34b867d 05/15/2012 05:15 pm Luiz Capitulino

qapi: add support for command options

Options allow for changes in commands behavior. This commit introduces
the QCO_NO_SUCCESS_RESP option, which causes a command to not emit a
success response.

This is needed by commands such as qemu-ga's guest-shutdown, which...

90f2cefb 05/08/2012 07:15 pm Andreas Färber

scripts/qemu-binfmt-conf.sh: Fix shell syntax

The script is organized as a sequence of binfmt registrations, with a
check whether the to be registered architecture matches the host.

Add a missing fi for the SuperH section.

Reported-by: Alexander Graf <>...

662da385 05/01/2012 10:15 pm Stefan Hajnoczi

tracetool: use Python 2.4-compatible exception handling syntax

The newer "except <exception-type> as <exception>:" syntax is not
supported by Python 2.4, we need to use "except <exception-type>,
<exception>:".

Tested all trace backends with Python 2.4.
...

45d6c787 05/01/2012 10:15 pm Stefan Hajnoczi

tracetool: use Python 2.4-compatible import() arguments

In Python 2.5 keyword arguments were added to import(). Avoid using
them to achieve Python 2.4 compatibility.

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Lluís Vilanova <>

b3ef0ade 05/01/2012 10:15 pm Stefan Hajnoczi

tracetool: avoid str.rpartition() Python 2.5 function

The str.rpartition() function is related to str.split() and is used for
splitting strings. It was introduced in Python 2.5 and therefore cannot
be used in tracetool as Python 2.4 compatibility is required....

9943e0ec 05/01/2012 10:15 pm Stefan Hajnoczi

tracetool: avoid pkgutil.iter_modules() Python 2.7 function

The pkgutil.iter_modules() function provides a way to enumerate child
modules. Unfortunately it's missing in Python <2.7 so we must implement
similar behavior ourselves.

Signed-off-by: Stefan Hajnoczi <>...

c41cc50f 04/24/2012 05:50 pm Eduardo Habkost

create_config: remove *dir block

Now only the qemu_*dir variables will become #defines. The other
directory names aren't used by the C code.

That means the following #defines won't be available in C code anymore:

- CONFIG_QEMU_BINDIR
- CONFIG_QEMU_LIBDIR...
0b3b7174 04/24/2012 05:50 pm Eduardo Habkost

create_config: simplify prefix=* block, remove CONFIG_QEMU_PREFIX

As now that block handles only the prefix variable, the code can be much
simpler. This also removes the CONFIG_QEMU_PREFIX define as it is not
used by any C code.

Signed-off-by: Eduardo Habkost <>...

eb72952b 04/24/2012 05:50 pm Eduardo Habkost

create_config: separate section for qemu_*dir variables (v2)

The generic dir section will eventually go away and be replaced with
qemu_
section. By now, both sections will be kept, while the variables
get renamed on config-host.mak.

With this patch, a XXXdir variable will become a CONFIG_QEMU_XXXDIR...

9008d85a 04/18/2012 04:03 pm Lluís Vilanova

tracetool: Add support for the 'stderr' backend

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

dd03a39e 04/18/2012 04:03 pm Lluís Vilanova

tracetool: Add support for the 'simple' backend

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

fbc54b94 04/18/2012 04:03 pm Lluís Vilanova

tracetool: Add support for the 'ust' backend

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

52ef093a 04/18/2012 04:03 pm Lluís Vilanova

tracetool: Add support for the 'dtrace' backend

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

256a721d 04/18/2012 04:03 pm Stefan Hajnoczi

tracetool: handle DTrace keywords 'in', 'next', 'self'

Language keywords cannot be used as argument names. The DTrace backend
appends an underscore to the argument name in order to make the argument
name legal.

This patch adds 'in', 'next', and 'self' keywords to dtrace.py....

650ab98d 04/18/2012 04:02 pm Lluís Vilanova

tracetool: Rewrite infrastructure as python modules

The tracetool script is written in shell and has hit several portability
problems due to shell quirks or external tools across host platforms.
Additionally the amount of string processing and lack of real data...

5de7f9c8 04/18/2012 04:02 pm Lluís Vilanova

tracetool: Add module for the 'c' format

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

c419e62a 04/18/2012 04:02 pm Lluís Vilanova

tracetool: Add module for the 'h' format

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

0d6b9cc7 04/16/2012 04:41 pm Jan Kiszka

signrom: Rewrite as python script

Now that we have a hard dependency on python anyway, we can replace the
slow shell script to calculate the option ROM checksum with a fast AND
portable python version. Tested both with python 2.7 and 3.1.

Signed-off-by: Jan Kiszka <>

b3c09bde 04/13/2012 01:01 am Stefan Hajnoczi

kvm: add flightrecorder script

The kvm kernel module includes a number of trace events which can be
useful when debugging system behavior. Even on production systems these
trace events can be used to observe guest behavior and identify the
source of problems....

fa6b8733 04/05/2012 03:54 pm Kevin Wolf

tracetool: Forbid argument name 'next'

It has happened more than once that patches that look perfectly sane
and work with simpletrace broke systemtap because they use 'next' as an
argument name for a tracing function. However, 'next' is a keyword for
systemtap, so we shouldn't use it....

aba8e41e 04/02/2012 05:44 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/tracing' into staging

  • stefanha/tracing:
    tracetool: dtrace: handle in and next reserved words
    tracetool: dtrace disabled-events fix
    Makefile.target: code stp dependency on trace-events
bb55b712 03/31/2012 03:03 pm Stefan Weil

Fix conversion from lower to upper case with Turkish locale

Some locale settings let make fail or create wrong results
because tr '[:lower:]' '[:upper:]' which is used to convert
from lower to upper case depends on the locale.

With locale tr_TR.UTF-8, lower case 'i' is not converted to 'I'....

b93b63f5 03/30/2012 04:14 pm Paolo Bonzini

test makefile overhaul

This introduces new test reporting infrastructure based on
gtester and gtester-report.

Also, all existing tests are moved to tests/, and tests/Makefile
is reorganized to factor out the commonalities in the rules.

Signed-off-by: Anthony Liguori <>...

c7f0f3b1 03/30/2012 04:14 pm Anthony Liguori

qtest: add test framework

The idea behind qtest is pretty simple. Instead of executing a CPU via TCG or
KVM, rely on an external process to send events to the device model that the CPU
would normally generate.

qtest presents itself as an accelerator. In addition, a new option is added to...

60be795f 03/30/2012 01:55 pm Lee Essen

tracetool: dtrace disabled-events fix

If there are "disabled" entries in the trace-events file then
linetod_nop() is called if the backend is dtrace, it's currently
not present. Also equivalent fix for stap.

Signed-off-by: Lee Essen <>...

703e01e6 03/30/2012 01:55 pm Alon Levy

tracetool: dtrace: handle in and next reserved words

Signed-off-by: Alon Levy <>
Signed-off-by: Stefan Hajnoczi <>

6d36d7dc 03/27/2012 03:15 pm Paolo Bonzini

qmp: parse commands in strict mode

Signed-off-by: Paolo Bonzini <>
Reviewed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

3a86a0fa 03/27/2012 03:14 pm Paolo Bonzini

qapi: untangle next_list

Right now, the semantics of next_list are complicated. The caller must:

  • call start_list
  • call next_list for each element including the first
  • on the first call to next_list, the second argument should point to
    NULL and the result is the head of the list. On subsequent calls,...
69b50071 03/27/2012 03:14 pm Paolo Bonzini

qapi: allow freeing partially-allocated objects

Objects going through the dealloc visitor can be only partially allocated.
Detect the situation and avoid a segfault. This also helps with the
input visitor, when there are errors.

Signed-off-by: Paolo Bonzini <>...

b6f0474f 03/27/2012 03:13 pm Paolo Bonzini

qapi: shortcut visits on errors

We can exit very soon if we enter a visitor with a preexisting error.
This simplifies some cases because we will not have to deal with
obj being non-NULL while *obj is NULL.

Signed-off-by: Paolo Bonzini <>...

c9da228b 03/26/2012 09:21 pm Federico Simoncelli

qapi: add c_fun to escape function names

Signed-off-by: Federico Simoncelli <>
Signed-off-by: Anthony Liguori <>

3179d694 03/24/2012 04:10 pm Michael Tokarev

Support utf8 chars in pod docs

We've at least one UTF8 char in the qemu texi doc:

$ grep Tibor qemu-doc.texi
by Tibor "TS" Schütz.
$ man ./qemu.1 | grep Tibor
by Tibor "TS" SchA~Xtz.

This patch allows utf8 in man/pod docs.

Initially it was split into two parts and sent on 2012-02-02....

4daa187d 03/24/2012 02:57 pm Avi Kivity

scripts: add gdb support script

Add a script that enhances gdb to be aware of QEMU data structures.

This patch adds a single gdb command, 'qemu mtree'. The command is
similar to the monitor's 'info mtree', except that it prints MemoryRegion
addresses, and except for working from a core dump as well as a live instance....

fb23ae6e 03/13/2012 03:51 am Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  • kwolf/for-anthony:
    test-coroutine: add performance test for nesting
    coroutine: adding configure option for sigaltstack coroutine backend
    coroutine: adding configure choose mechanism for coroutine backend...
dc8fb6df 03/12/2012 04:14 pm Paolo Bonzini

qapi: complete implementation of unions

Signed-off-by: Paolo Bonzini <>
Acked-by: Luiz Capitulino <>
Signed-off-by: Kevin Wolf <>

b7d66a76 03/12/2012 12:12 pm Lluís Vilanova

trace: Provide a per-event status define for conditional compilation

Adds a 'TRACE_${NAME}_ENABLED' preprocessor define for each tracing event in
"trace.h".

This lets the user conditionally compile code with a relatively high execution
cost that is only necessary when producing the tracing information for an event...

bcec4332 03/12/2012 12:12 pm Stefan Hajnoczi

tracetool: Omit useless QEMU_*_ENABLED() check

SystemTap provides a "semaphore" that can optionally be tested before
executing a trace event. The purpose of this mechanism is to skip
expensive tracing code when the trace event is disabled.

For example, some applications may have trace events that format or...

9737383b 01/18/2012 02:23 pm Stefan Hajnoczi

qerror: add check-qerror.sh to verify alphabetical order

We're supposed to keep qerror definitions and table entries in
alphabetical order. In practice this is not checked.

I haven't found a nice way to integrate this into the makefile yet but
we can at least have this script which verifies that qerrors are in...

19bf7c87 01/12/2012 06:03 pm Avi Kivity

Fix qapi code generation fix

The fixes to qapi code generation had multiple bugs:
- the Null class used to drop output was missing some methods
- in some scripts it was never instantiated, leading to a None return,
which is missing even more methods
- the --source and --header options were swapped...

8d3bc517 12/27/2011 05:28 pm Avi Kivity

Fix qapi code generation wrt parallel build

Make's multiple output syntax

x.c x.h: x.template
gen < x.template

actually invokes the command once for x.c and once for x.h (with differing $@
in each invocation). During a parallel build, the two commands may be invoked...

058a96ed 12/21/2011 09:07 am Harsh Prateek Bora

scripts/analyse-9p-simpletrace.py: Add symbolic names for 9p operations.

Currently, we just print the numerical value of 9p operation identifier in
case of RERROR which is less meaningful for readability. Mapping 9p
operation ids to symbolic names provides a better tracelog:...

a3adb7ad 12/19/2011 06:27 pm Michael Ellerman

vl.c: In qemu -h output, only print options for the arch we are running as

Only print options in the help output that are accepted by our arch.
This is less confusing for users and also for other programs that
consume the help output.

The options affected are:...

5dbee474 12/15/2011 05:20 pm Anthony Liguori

qapi: allow a 'gen' key to suppress code generation

Signed-off-by: Anthony Liguori <>

e7d81004 12/14/2011 01:09 pm Stefan Weil

Fix spelling in comments, documentation and messages

accidently->accidentally
annother->another
choosen->chosen
consideres->considers
decriptor->descriptor
developement->development
paramter->parameter
preceed->precede
preceeding->preceding
priviledge->privilege...

68dfbcd4 12/02/2011 12:50 pm Dong Xu Wang

fix spelling in scripts sub directory

Signed-off-by: Dong Xu Wang <>
Signed-off-by: Stefan Hajnoczi <>

d8e1f214 11/30/2011 05:28 pm Michael Roth

qapi: fix guardname generation

Fix a bug in handling dotted paths, and exclude directory prefixes
from generated guardnames to avoid odd/pseudo-random guardnames in
generated headers.

Signed-off-by: Anthony Liguori <>

61669f9a 11/26/2011 11:47 am Florian Mickler

checkpatch.pl: fix CAST detection

We should only claim that something is a cast if we did not encouter a
token before, that did set av_pending.

This fixes the operator * in the line below to be detected as binary (vs
unary).

kmalloc(sizeof(struct alphatrack_ocmd) * true_size, GFP_KERNEL);...

e589728b 11/01/2011 11:52 pm Paolo Bonzini

checkpatch: remove rule on non-indented labels

There are 508 non-indented (non-default) labels, and 511 that are
indented. So the rule is debatable at least. Actually, in the
common case of labels at the outermost scope, there is really just
one place where to put the label, so the rule is just wrong IMHO....

96b3d73f 10/31/2011 06:02 pm Anthony Liguori

Merge remote-tracking branch 'qmp/queue/qmp' into staging

Conflicts:
ui/spice-core.c

549f808b 10/31/2011 06:00 pm Anthony Liguori

Merge remote-tracking branch 'qemu-kvm-tmp/uq/master' into staging

7999f7e1 10/30/2011 11:05 am Aneesh Kumar K.V

hw/9pfs: Make VirtFS tracing work correctly

this patch fix multiple issues with VirtFS tracing.
a) Add tracepoint to the correct code path. We handle error in complete_pdu
b) Fix indentation in python script
c) Fix variable naming issue in python script
...

694a099a 10/27/2011 04:48 pm Luiz Capitulino

qapi-commands.py: Don't call the output marshal on error

Today we generate something like this:

int qmp_marshal_input_query_foo(...)
...
retval = qmp_query_foo(errp);
qmp_marshal_output_query_foo(retval, ret, errp);
......
5f6caa4f 10/25/2011 02:26 am Jan Kiszka

kvm: Add tool for querying VMX capabilities

Taken from original qemu-kvm/kvm/scripts/vmxcap.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Avi Kivity <>

626c4276 10/25/2011 02:26 am Jan Kiszka

kvm: Add top-like kvm statistics script

Taken from original qemu-kvm/kvm/kvm_stat.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Avi Kivity <>

49a88ce3 10/15/2011 01:00 pm Harsh Prateek Bora

scripts: Simpletrace log analysis script for pretty-printing 9p log.

This python script allows to pretty print 9p simpletrace logs and can be
further enhanced to filter 9p logs based on command line arguments.

Sample output:
TGETATTR (tag = 1 , fid = 0 , request_mask = 0x7ff )...

303b54b1 10/04/2011 05:00 pm Luiz Capitulino

qapi: Automatically generate a _MAX value for enums

It's the last value in the enum and is very useful for the C
implementation.

Signed-off-by: Luiz Capitulino <>

776574d6 10/04/2011 05:00 pm Anthony Liguori

qapi: add code generation support for middle mode

To get the ball rolling merging QAPI, this patch introduces a "middle mode" to
the code generator. In middle mode, the code generator generates marshalling
functions that are compatible with the current QMP server. We absolutely need...

15e43e64 10/04/2011 05:00 pm Anthony Liguori

qapi: fixup command generation for functions that return list types

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

75b96aca 10/04/2011 05:00 pm Michael Roth

qapi: generate qapi_free_* functions for *List types

Reviewed-by: Anthony Liguori <>
Signed-off-by: Michael Roth <>
Signed-off-by: Luiz Capitulino <>

e1bc2f7b 10/04/2011 05:00 pm Michael Roth

qapi: modify visitor code generation for list iteration

Modify logic such that we never assign values to the list head argument
to progress through the list on subsequent iterations, instead rely only
on having our return value passed back in as an argument on the next...

d2a80d6b 10/04/2011 05:00 pm Luiz Capitulino

qapi: Don't use c_var() on enum strings

Otherwise if we have something like 'foo-bar' in the schema,
it will be generated as 'foo_bar' in the string lookup table.

c_var() is good for C variables, but not for enum strings.

Signed-off-by: Luiz Capitulino <>

913540a3 09/17/2011 06:14 pm Stefan Hajnoczi

trace: allow PRI*64 at beginning and ending of format string

The tracetool parser only picks up PRI*64 and other format string macros
when enclosed between double quoted strings. Lift this restriction by
extracting everything after the closing ')' as the format string:...

49926043 09/01/2011 12:34 pm Lluís

trace: generalize the "property" concept in the trace-events file

This adds/modifies the following functions:

  • get_name: Get only the event name
  • has_property: Return whether an event has a property (keyword before the event
    name)

Signed-off-by: Lluís Vilanova <>

dd215f64 09/01/2011 12:34 pm Lluís

trace: always use the "nop" backend on events with the "disable" keyword

Any event with the keyword/property "disable" generates an empty trace event
using the "nop" backend, regardless of the current backend.

Signed-off-by: Lluís Vilanova <>

03727e6a 09/01/2011 12:34 pm Lluís

trace: [simple] disable all trace points by default

Note that this refers to the backend-specific state (whether the output must be
generated), not the event "disabled" property (which always uses the "nop"
backend).

Signed-off-by: Lluís Vilanova <>

9a82b6a5 09/01/2011 12:34 pm Lluís

trace: [stderr] add support for dynamically enabling/disabling events

Uses the generic interface provided in "trace/control.h" in order to provide
a programmatic interface as well as command line and monitor controls.

Signed-off-by: Fabien Chouteau <>...

d8e8ef4e 09/01/2011 12:34 pm Stefan Hajnoczi

simpletrace: fix process() argument count

The simpletrace.process() function invokes analyzer methods with the
wrong number of arguments if a timestamp should be included. This patch
fixes the issue so that trace analysis scripts can make use of
timestamps....

edb47ec4 09/01/2011 12:34 pm Lluís

trace: move backend-specific code into the trace/ directory

Signed-off-by: Lluís Vilanova <>

01c4330b 08/27/2011 06:44 pm Pavel Borzenkov

checkpatch: fix braces {} handling

checkpatch.pl doesn't report warning for if/else statements with missing
'else' braces:

if (something) {
foo;
} else
bar;

The patch has been tested using the last 100 commits.

Signed-off-by: Pavel Borzenkov <>...

7534ba01 08/12/2011 04:31 pm Michael Roth

qapi: fix build issue due to missing newline in generated header

Fixes a build issue on RHEL5, and potentially other distros, where gcc
will generate an error due to us not writing a trailing "\n" when
generating *qmp-commands.h

Signed-off-by: Michael Roth <>...

e89ac222 07/21/2011 10:48 pm Michael Roth

qapi: add ordereddict.py helper library

We need this to parse dictionaries with schema ordering intact so that C
prototypes can be generated deterministically.

Signed-off-by: Michael Roth <>
Signed-off-by: Luiz Capitulino <>

0f923be2 07/21/2011 10:48 pm Michael Roth

qapi: add qapi.py helper libraries

Signed-off-by: Michael Roth <>
Signed-off-by: Luiz Capitulino <>

fb3182ce 07/21/2011 10:48 pm Michael Roth

qapi: add qapi-types.py code generator

This is the code generator for qapi types. It will generation the
following files:

$(prefix)qapi-types.h - C types corresponding to types defined in
the schema you pass in
$(prefix)qapi-types.c - Cleanup functions for the above C types...
06d64c62 07/21/2011 10:48 pm Michael Roth

qapi: add qapi-visit.py code generator

This is the code generator for qapi visiter functions used to
marshal/unmarshal/dealloc qapi types. It generates the following 2
files:

$(prefix)qapi-visit.c: visiter function for a particular c type, used
to automagically convert qobjects into the...
c17d9908 07/21/2011 10:48 pm Michael Roth

qapi: add qapi-commands.py code generator

This is the code generator for qapi command marshaling/dispatch.
Currently only generators for synchronous qapi/qmp functions are
supported. This script generates the following files:

$(prefix)qmp-marshal.c: command marshal/dispatch functions for each...
d0510af2 07/21/2011 12:07 am Blue Swirl

checkpatch: Fix bracing false positives on #if

789f88d0b21fedfd4251d56bb7a9fbfbda7a4ac7 only fixed #else,
fix also #if.

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Blue Swirl <>

9fbe4784 07/17/2011 02:54 am Alexander Graf

checkpatch: don't error out on },{ lines

When having code like this:

static PCIDeviceInfo piix_ide_info[] = {
    {
.qdev.name = "piix3-ide",
.qdev.size = sizeof(PCIIDEState),
.qdev.no_user = 1,
.no_hotplug = 1,...
d6034a3a 06/22/2011 03:13 pm Anthony Liguori

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

87fdd476 06/20/2011 09:12 pm Jan Kiszka

Add kernel header update script

This helper pulls the required kernel headers for KVM and vhost into a
specified directory. The update is triggered via

scripts/update-linux-headers.sh LINUX_PATH

and will place the output under linux-headers/linux and linux-headers/asm-*....

990def58 06/16/2011 12:20 am Michael S. Tsirkin

get_maintainer: update to match qemu tree

Signed-off-by: Michael S. Tsirkin <>

c6a99b60 06/15/2011 06:32 pm Michael S. Tsirkin

get_maintainer.pl: copy utility from Linux

Our MAINTAINERS file format matches Linux so
get the utility to parse it from there.
Updated as of linux 3.0-rc3

Signed-off-by: Michael S. Tsirkin <>

a4c075f1 05/20/2011 06:35 pm Ulrich Hecht

s390x: s390x-linux-user support

This patch adds support for running s390x binaries in the linux-user emulation
code.

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Alexander Graf <>

1a96dd47 04/26/2011 03:14 pm Paolo Bonzini

tracetool: allow ) in trace output string

Be greedy in matching the trailing "\)*" pattern. Otherwise, all the
text in the trace string up to the last closed parenthesis is taken as
part of the prototype.

Signed-off-by: Paolo Bonzini <>...

fa2d480a 04/26/2011 03:14 pm Lluís

trace: [ust] fix generation of 'trace.c' on events without args

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

36d8d02d 04/18/2011 08:46 pm Alex Williamson

PXE: Refresh all PXE ROMs from the ipxe submodule

Add script to make this easy to repeat later.

Signed-off-by: Alex Williamson <>

0b5538c3 03/07/2011 05:34 pm Stefan Hajnoczi

simpletrace: Thread-safe tracing

Trace events outside the global mutex cannot be used with the simple
trace backend since it is not thread-safe. There is no check to prevent
them being enabled so people sometimes learn this the hard way.

This patch restructures the simple trace backend with a ring buffer...

e323c93e 03/06/2011 09:38 pm Jes Sorensen

tracetool: Add optional argument to specify dtrace probe names

Optional feature allowing a user to generate the probe list to match
the name of the binary, in case they wish to install qemu under a
different name than qemu-{system,user},<arch>

Signed-off-by: Jes Sorensen <>...

59da6684 03/06/2011 08:06 pm Stefan Hajnoczi

simpletrace: Make simpletrace.py a Python module

The simpletrace.py script pretty-prints a binary trace file. Most of
the code can be reused by trace file analysis scripts, so turn it into a
module.

Here is an example script that uses the new simpletrace module:...

ad36ce8b 02/05/2011 03:18 pm Blue Swirl

checkpatch.pl: don't complain about old lines with tabs

Don't complain when the patch includes lines with tabs
only in the hunk's untouched context.

Signed-off-by: Blue Swirl <>

320fba2a 01/30/2011 12:52 am Fabien Chouteau

New trace-event backend: stderr

This backend sends trace events to standard error output during the emulation.

Also add a "--list-backends" option to tracetool, so configure script can
display the list of available backends.

Signed-off-by: Fabien Chouteau <>...

ba76a84d 01/23/2011 01:43 pm Blue Swirl

gdbstub-xml: avoid a warning from sparse

Include a header to get the declaration for xml_builtin. This
avoids a warning from sparse:
CC m68k-softmmu/gdbstub-xml.o
gdbstub-xml.c:244:12: warning: symbol 'xml_builtin' was not declared. Should it be static?...

789f88d0 01/21/2011 07:32 pm Jan Kiszka

checkpatch: Fix bracing false positives on #else

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

b6469683 01/20/2011 10:58 pm Blue Swirl

checkpatch: adjust to QEMUisms

Change checkpatch.pl for QEMU use:
- Root directory detection
- Forbid tabs
- Indent at 4 spaces
- Allow typedefs
- Enforce brace use even for single statement blocks
- Don't suggest nonexistent cleanup tools

Mention the script in CODING_STYLE....

1ec3f6f9 01/20/2011 10:54 pm Blue Swirl

Add checkpatch.pl from Linux kernel

Unchanged import from
http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-0.31

Signed-off-by: Blue Swirl <>