Statistics
| Branch: | Revision:

root @ 27e0c9a1

# Date Author Comment
bfe24e1a 04/05/2012 03:54 pm Kevin Wolf

trace-events: Rename 'next' argument

'next' is a systemtap keyword, so it's a bad idea to use it as an
argument name.

Signed-off-by: Kevin Wolf <>

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....

3948d1d4 04/05/2012 03:54 pm Kevin Wolf

qcow2: Remove unused parameter in get_cluster_table()

Since everything goes through the cache, callers don't use the L2 table
offset any more.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

d7bb72c8 04/05/2012 03:54 pm Stefan Hajnoczi

qemu-io: add option to enable tracing

It can be useful to enable QEMU tracing when trying out block layer
interfaces via qemu-io. Tracing can be enabled using the new -T FILE
option where the given file contains a list of trace events to enable
(just like the qemu --trace events=FILE option)....

29cdb251 04/05/2012 03:54 pm Paolo Bonzini

block: push recursive flushing up from drivers

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

85e8dab1 04/05/2012 03:54 pm Paolo Bonzini

aio: move BlockDriverAIOCB to qemu-aio.h

And remove several block_int.h inclusions that should not be there.

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

2844bdd9 04/05/2012 03:54 pm Kevin Wolf

ide: IDENTIFY word 86 bit 14 is reserved

Reserved bits should be cleared to zero.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

27e0c9a1 04/05/2012 03:54 pm Floris Bos

ide: Add "model=s" qdev option

Allow the user to override the default disk model name "QEMU HARDDISK".

Some Linux distributions use the /dev/disk/by-id/scsi-SATA_name-of-disk-
model_serial addressing scheme when refering to partitions in /etc/fstab
and elsewhere. This causes problems when starting a disk image taken from...

8f8d364f 04/04/2012 11:45 pm Blue Swirl

Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf

  • 's390-for-upstream' of git://repo.or.cz/qemu/agraf:
    target-s390x: Update s390x_{tod,cpu}_timer() to use S390CPU
    target-s390x: QOM'ify CPU init
    target-s390x: QOM'ify CPU reset
    target-s390x: QOM'ify CPU
a7be9bad 04/04/2012 10:20 pm Artyom Tarasenko

Improve interrupt handling priority

The vector interrupt has higher priority than interrupt_level_n.
Also check only interrupt_level_n concurency when TL > 0, the traps of
other types may be nested.

Signed-off-by: Artyom Tarasenko <>
Signed-off-by: Blue Swirl <>

23cf96e1 04/04/2012 10:20 pm Artyom Tarasenko

Fix vector interrupt handling

Don't produce stray irq 5, don't overwrite ivec_data if still busy with
processing of the previous interrupt.

Signed-off-by: Artyom Tarasenko <>
Signed-off-by: Blue Swirl <>

b8ba6799 04/04/2012 08:06 pm Andreas Färber

target-s390x: Update s390x_{tod,cpu}_timer() to use S390CPU

In place of CPUS390XState pass S390CPU as opaque from the new initfn.
cpu_interrupt() is anticipated to take a CPUState in the future.

Signed-off-by: Andreas Färber <>
Tested-by: Christian Borntraeger <>

8f22e0df 04/04/2012 06:35 pm Andreas Färber

target-s390x: QOM'ify CPU init

Move code from cpu_s390x_init() into an initfn.

Signed-off-by: Andreas Färber <>
Tested-by: Christian Borntraeger <>

1ac1a749 04/04/2012 06:34 pm Andreas Färber

target-s390x: QOM'ify CPU reset

Move code from cpu_state_reset() to s390_cpu_reset().

Signed-off-by: Andreas Färber <>
Tested-by: Christian Borntraeger <>

29e4bcb2 04/04/2012 06:29 pm Andreas Färber

target-s390x: QOM'ify CPU

Embed CPUS390XState as first member of S390CPU.
Since -cpu is being ignored, make TYPE_S390_CPU non-abstract.

Signed-off-by: Andreas Färber <>
Tested-by: Christian Borntraeger <>

a612b2a6 04/02/2012 11:04 pm Paolo Bonzini

qom: add container_get

This is QOM "mkdir -p". It is useful when referring to
container objects such as "/machine".

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

f424d5c4 04/02/2012 11:04 pm Paolo Bonzini

qdev: add children before qdev_init

We want the composition tree to to be in order by the time we call
qdev_init, so that a single set of the toplevel realize property can
propagate all the way down the composition tree.

This is not the case so far. Unfortunately, this is incompatible...

da57febf 04/02/2012 11:04 pm Paolo Bonzini

qdev: give all devices a canonical path

A strong limitation of QOM right now is that unconverted ports
(e.g. all...) do not give a canonical path to devices that are
part of the board. This in turn makes it impossible to replace
PROP_PTR with a QOM link for example....

f05f6b4a 04/02/2012 11:04 pm Paolo Bonzini

qdev: put all devices under /machine

Avoid cluttering too much the QOM root.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

cefc8988 04/02/2012 05:46 pm Anthony Liguori

Merge remote-tracking branch 'kiszka/queues/slirp' into staging

  • kiszka/queues/slirp:
    slirp: Signal free input buffer space to io-thread
    w32/slirp: Undefine error constants before their redefinition
    slirp: use socket_set_nonblock
    slirp: clean up conflicts with system headers
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
dfe844c9 04/02/2012 05:43 pm Anthony Liguori

serial: clear LSR.TEMT when populating the TSR

We never actually clear the TEMT (transmit sending register empty) flag when
populating the TSR. We set the flag, but since it's never cleared, setting it
is sort of pointless..

I found this with a unit test case....

6e92466a 04/02/2012 05:43 pm Anthony Liguori

qtest: use qemu_gettimeofday()

On linux, qemu_timeval will always be two long ints. On windows, we use our
own struct definition. This should fix win64.

Signed-off-by: Anthony Liguori <>

67c5322d 04/02/2012 05:43 pm Anthony Liguori

serial: fix retry logic

I'm not sure if the retry logic has ever worked when not using FIFO mode. I
found this while writing a test case although code inspection confirms it is
definitely broken.

The TSR retry logic will never actually happen because it is guarded by an...

a3b6181e 04/01/2012 09:30 pm Michael Walle

milkymist-vgafb: add missing register

This bug existed since the first commit. Fortunately, the affected
registers have no functionality in qemu. This will only prevent the
following warning:
milkymist_vgafb: write access to unknown register 0x00000034...

79368f49 04/01/2012 09:30 pm Michael Walle

target-lm32: add simple disassembler

Because binutils disassembler is based on libopcode, this is a rewrite from
scratch.

Signed-off-by: Michael Walle <>

060544d3 03/31/2012 09:02 pm Michael Walle

milkymist-sysctl: support for new core version

The new version introduces the following new registers:
- SoC clock frequency: read-only of system clock used on the SoC
- debug scratchpad: 8 bit scratchpad register
- debug write lock: write once register, without any function on QEMU...

927b241d 03/31/2012 08:56 pm Michael Walle

tests: fix out-of-tree building for lm32 target

Signed-off-by: Michael Walle <>

de89fd2b 03/31/2012 08:56 pm Michael Walle

target-lm32: init tcg only if available

Once qtest support for target-lm32 arrives, tcg may be disabled.

Signed-off-by: Michael Walle <>

b7c8e15a 03/31/2012 03:10 pm Blue Swirl

Merge branch 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm

  • 'arm-devs.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm:
    pl031: switch clock base to rtc_clock
    pl031: rearm alarm timer upon load
    arm: switch real-time clocks to rtc_clock...
4dec4654 03/31/2012 03:09 pm Blue Swirl

Merge branch 'qom-cpu-unicore32.v3' of git://github.com/afaerber/qemu-cpu

  • 'qom-cpu-unicore32.v3' of git://github.com/afaerber/qemu-cpu:
    target-unicore32: Move CPU-dependent init into initfn
    target-unicore32: QOM'ify CPU
    target-unicore32: License future contributions under GPLv2+...
e7c56016 03/31/2012 03:06 pm Blue Swirl

Merge branch 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm

  • 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm:
    ARM: Permit any ARMv6K CPU to read the MVFR0 and MVFR1 VFP registers.
    target-arm: Minimalistic CPU QOM'ification...
94dd53c5 03/31/2012 03:04 pm Gerd Hoffmann

buildfix: check for old pod2man versions

Older pod2man don't have a --utf8 switch, check for this in conffigure
and use it only when present. Fixes build on RHEL-5.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

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'....

02b3efcb 03/30/2012 09:58 pm Blue Swirl

qtest: avoid a warning with RTC test

Avoid this warning on OpenBSD:
CC tests/rtc-test.o
/src/qemu/tests/rtc-test.c: In function 'check_time':
/src/qemu/tests/rtc-test.c:171: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'...

6b7cff76 03/30/2012 08:56 pm Anthony Liguori

qtest: fix 32-bit build

time_t appears to be an unsigned long so use %ld.

Reported-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

86073017 03/30/2012 08:43 pm Jan Kiszka

slirp: Signal free input buffer space to io-thread

This massively accelerates slirp reception speed: If data arrives
faster than the guest can read it from the input buffer, the file
descriptor for the corresponding socket was taken out of the fdset for
select. However, the event of the guest reading enough data from the...

d2a16f74 03/30/2012 08:39 pm Blue Swirl

qtest: fix out of tree build

Trace objects are also needed if tracing is enabled.

Reviewed-by: Anthony Liguori <>
Signed-off-by: Blue Swirl <>

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

rtc: split out macros into a header file and use in test case

Signed-off-by: Anthony Liguori <>

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

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

qtest: add rtc-test test-case

Signed-off-by: Anthony Liguori <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

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...

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

qtest: IRQ interception infrastructure

Since /i440fx/piix3 is being removed from the composition tree, the
IO-APIC is placed under /i440fx. This is wrong and should be changed
as soon as the /i440fx/piix3 path is put back.

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

8156be56 03/30/2012 04:14 pm Paolo Bonzini

qtest: add clock management

This patch combines qtest and -icount together to turn the vm_clock
into a source that can be fully managed by the client. To this end new
commands clock_step and clock_set are added. Hooking them with libqtest
is left as an exercise to the reader....

49ee3590 03/30/2012 04:14 pm Anthony Liguori

qtest: add C version of test infrastructure

This also includes a qtest wrapper script to make it easier to launch qtest
tests directly.

Signed-off-by: Anthony Liguori <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

2174e238 03/30/2012 01:55 pm Alon Levy

Makefile.target: code stp dependency on trace-events

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

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 <>

b0f26631 03/30/2012 01:31 pm Paolo Bonzini

pl031: switch clock base to rtc_clock

This lets the user specify the desired semantics. By default, the RTC
will follow adjustments from the host's NTP client, and will remain in
sync when the virtual machine is stopped. The previous behavior, which
provides determinism with both icount and qtest, remains available with...

e230d4e8 03/30/2012 01:31 pm Paolo Bonzini

omap: switch omap_lpg to vm_clock

The output of the pulse generator needs to be deterministic when
running in -icount mode, and to remain constant whenever the VM is
stopped. So the right clock to use is vm_clock.

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

348abc86 03/30/2012 01:31 pm Paolo Bonzini

arm: switch real-time clocks to rtc_clock

This lets the user specify the desired semantics. By default, the RTC
will follow adjustments from the host's NTP client. "-rtc clock=vm" will
improve determinism with both icount and qtest. Finally, the previous...

ac204b8f 03/30/2012 01:31 pm Paolo Bonzini

pl031: rearm alarm timer upon load

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Peter Maydell <>

78808141 03/30/2012 01:31 pm Paolo Bonzini

rtc: add -rtc clock=rt

This will let people use backwards-compatible semantics for devices that
will be affected by the following patches.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Peter Maydell <>

06ed5d66 03/30/2012 01:10 pm Andrew Towers

ARM: Permit any ARMv6K CPU to read the MVFR0 and MVFR1 VFP registers.

This patch replaces the ARM_FEATURE_VFP3 test when reading MVFR registers
with a test for a new feature flag ARM_FEATURE_MVFR, and sets this feature
for all ARMv6K cores (ARM1156 is not a v6K core, yet supports MVFR; qemu...

8df9082d 03/30/2012 12:09 pm Andreas Färber

target-unicore32: Move CPU-dependent init into initfn

Instead of setting values in a CPUID switch, do so in initfn functions.

Signed-off-by: Andreas Färber <>
Acked-by: Guan Xuetao <>

a6ea7b4c 03/30/2012 12:09 pm Andreas Färber

MAINTAINERS: Add entry for UniCore32

Signed-off-by: Andreas Färber <>
Acked-by: Guan Xuetao <>

2b3bc6c0 03/30/2012 12:09 pm Andreas Färber

target-unicore32: Relicense to GPLv2+

Adopt the license text suggested by Guan Xue-tao (with a minor
simplification) for all target-unicore/ files except helper.c.

To helper.c Anthony Liguori contributed a qemu_malloc() -> g_malloc()
conversion, still pending IBM relicensing approval, so that remains...

c3a8baa9 03/30/2012 12:09 pm Andreas Färber

target-unicore32: License future contributions under GPLv2+

This is to limit relicensing obstacles to the pending IBM investigation.

Signed-off-by: Andreas Färber <>
Acked-by: Guan Xuetao <>

ae0f5e9e 03/30/2012 12:09 pm Andreas Färber

target-unicore32: QOM'ify CPU

Embed CPUUniCore32State as first member of UniCore32CPU.

Contributed under GPLv2+.

Signed-off-by: Andreas Färber <>
Acked-by: Guan Xuetao <>

040b66f3 03/29/2012 09:32 pm Anthony Liguori

Merge remote-tracking branch 'origin/master' into staging

  • origin/master:
    qemu tcg: Remove one entry of INDEX_op_ld_i64 from ppc_op_defs
dec9c2d4 03/29/2012 06:42 pm Andreas Färber

target-arm: Minimalistic CPU QOM'ification

Introduce only one non-abstract type TYPE_ARM_CPU and do not touch
cp15 registers to not interfere with Peter's ongoing remodelling.
Embed CPUARMState as first (additional) field of ARMCPU.

Let CPUClass::reset() call cpu_state_reset() for now....

0bcd08b3 03/29/2012 06:40 pm Andreas Färber

target-arm: Drop cpu_arm_close()

It's unused, so no need to QOM'ify it later.

Signed-off-by: Andreas Färber <>
Signed-off-by: Peter Maydell <>

f638f0d3 03/29/2012 10:10 am Li Zhang

qemu tcg: Remove one entry of INDEX_op_ld_i64 from ppc_op_defs

There two entries of INDEX_op_ld_i64 in the ppc_op_defs. That causes an
assertion failure in tcg_add_target_add_op_defs() when --enable-debug is
used on a ppc64 backend (that's ppc64 host, not target)....

56688961 03/28/2012 10:03 pm Jan Kiszka

w32/slirp: Undefine error constants before their redefinition

Less warnings for your console.

Signed-off-by: Jan Kiszka <>

1c5970a8 03/28/2012 09:33 pm Paolo Bonzini

slirp: use socket_set_nonblock

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Jan Kiszka <>

b7221056 03/28/2012 09:33 pm Paolo Bonzini

slirp: clean up conflicts with system headers

Right now, slirp/slirp.h cannot include some system headers and,
indirectly, qemu_socket.h. Clean this up, and remove a duplicate
prototype that was introduced because of that.

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

cbd5979b 03/28/2012 08:46 pm Anthony Liguori

Merge remote-tracking branch 'sstabellini/disk_io' into staging

  • sstabellini/disk_io:
    xen_disk: when using AIO flush after the operation is completed
    xen_disk: open disk with BDRV_O_NOCACHE | BDRV_O_CACHE_WB | BDRV_O_NATIVE_AIO
49e00ba9 03/28/2012 08:46 pm Anthony Liguori

Merge remote-tracking branch 'sstabellini/xen-fixes' into staging

  • sstabellini/xen-fixes:
    xen_disk: detach the blkdev before bdrv_delete
    xen_console: ignore console disconnect events from console/0
c76d1a9b 03/28/2012 08:45 pm Anthony Liguori

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

  • qmp/queue/qmp:
    qmp: document strict parsing
    qmp: parse commands in strict mode
    qmp: add and use q type specifier
    qapi: add strict mode to input visitor
    qapi: place outermost object on qiv stack...
0a5a4e05 03/28/2012 08:44 pm Anthony Liguori

Merge remote-tracking branch 'alon/libcacard' into staging

  • alon/libcacard:
    libcacard/vcard_emul_nss: add warning for old coolkey
    libcacard/vcard_emul_nss: handle no readers at startup
    libcacard/vcard_emul_nss: don't stop thread when there are no slots
1658dd32 03/27/2012 10:46 pm Blue Swirl

sparc: pass page aligned addresses to tlb_set_page

Mask incoming page address early so that resolved addresses
are page aligned. Remove further address masking.

Tested-by: Artyom Tarasenko <>
Signed-off-by: Blue Swirl <>

7429f2e1 03/27/2012 07:05 pm Stefano Stabellini

xen_disk: detach the blkdev before bdrv_delete

We need to detach the blkdev from the BlockDriverState before calling
bdrv_delete.

Signed-off-by: Stefano Stabellini <>

028c85f0 03/27/2012 07:05 pm Stefano Stabellini

xen_console: ignore console disconnect events from console/0

The first console has a different location compared to other PV devices
(console, rather than device/console/0) and doesn't obey the xenstore
state protocol. We already special case the first console in con_init...

1829851c 03/27/2012 03:15 pm Paolo Bonzini

qmp: document strict parsing

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Luiz Capitulino <>

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 <>

b9f8978c 03/27/2012 03:15 pm Paolo Bonzini

qmp: add and use q type specifier

"O" is being used by the transaction and qom-set commands to mean "any
QObject", but it really means "do not validate the argument list".
Add a new specifier with the correct meaning.

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

e38ac962 03/27/2012 03:15 pm Paolo Bonzini

qapi: add strict mode to input visitor

While QMP in general is designed so that it is possible to ignore
unknown arguments, in the case of the QMP server it is better to
reject them to detect bad clients. In fact, we're already doing
this at the top level in the argument checker. To extend this to...

4faaec6a 03/27/2012 03:15 pm Paolo Bonzini

qapi: place outermost object on qiv stack

This is a slight change in the implementation of QMPInputVisitor
that helps when adding strict mode.

Const QObjects cannot be inc/decref-ed, and that's why QMPInputVisitor
relies heavily on weak references to inner objects. I'm not removing...

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 <>...

8b714d37 03/27/2012 03:13 pm Paolo Bonzini

qapi: fix memory leak on error

QmpInputVisitor would leak the malloced struct if the stack was
overflowed. This can be easily fixed using error_propagate.

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

2c7ff933 03/27/2012 03:13 pm Paolo Bonzini

qapi: fail hard on stack imbalance

QmpOutputVisitor will segfault if an imbalanced end function is
called. So we can abort in QmpInputVisitor too.

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

3dcf71f6 03/27/2012 03:12 pm Paolo Bonzini

qapi: add a test case for type errors

There is no test case for parse errors, add one.

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

f24582d6 03/27/2012 03:11 pm Laszlo Ersek

qapi: fix double free in qmp_output_visitor_cleanup()

Stack entries in QmpOutputVisitor are navigation links (weak references),
except the bottom (ie. least recently added) entry, which owns the root
QObject [1]. Make qmp_output_visitor_cleanup() drop the stack entries,...

9e9eace8 03/27/2012 03:11 pm Paolo Bonzini

qapi: add struct-errors test case to test-qmp-output-visitor

This test case verifies that invalid native enums are caught, and causes
qapi to tear down the QObject tree under construction, exercising the
previous patch.

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

8a22565b 03/26/2012 11:17 pm Anthony Liguori

Merge remote-tracking branch 'mdroth/qga-pull-3-26-12' into staging

  • mdroth/qga-pull-3-26-12:
    qemu-ga: fix bsd build, and re-org linux-specific implementations
29b18b7a 03/26/2012 11:08 pm Anthony Liguori

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

  • stefanha/trivial-patches:
    trace-events: Fix broken build caused by wrong format specifier
    test: add test-qmp-commands to make check
    qapi: remove print statements from test-qmp-commands...
3d032f0f 03/26/2012 11:08 pm Anthony Liguori

Merge remote-tracking branch 'spice/spice.v51' into staging

  • spice/spice.v51:
    ui/spice-display: use uintptr_t when casting qxl physical addresses
    ui/spice-display.c: Fix compilation warnings on 32 bit hosts
3017b72c 03/26/2012 10:21 pm Miroslav Rezanina

Man page: Add -global description

There's only TODO information in qemu man page for -global option. This is a basic description of this option with simple example.

Signed-off-by: Miroslav Rezanina <>

v4:
- break long line

v3:
- add use case description...

81fe74dc 03/26/2012 10:21 pm Michael Roth

test: remove qemu-ga reference

This was added by mistake a while back.

Signed-off-by: Michael Roth <>
Signed-off-by: Anthony Liguori <>

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 <>

1b902f7d 03/26/2012 07:39 pm Alon Levy

libcacard/vcard_emul_nss: don't stop thread when there are no slots

Signed-off-by: Alon Levy <>

4e339882 03/26/2012 07:39 pm Alon Levy

libcacard/vcard_emul_nss: handle no readers at startup

When starting with no readers, coolkey should show no slots (with
RHBZ 806038 fixed). Fix initialization to launch the event handling
thread for each module that isn't the internal module regardless of the...

6f06f178 03/26/2012 07:39 pm Alon Levy

libcacard/vcard_emul_nss: add warning for old coolkey

Older coolkey versions (before the future fix of RHBZ 802435) have
a fake card reader created if no reader is detected during module
initialization. Warn libcacard users if the faulty coolkey is detected...

95b752bc 03/26/2012 02:34 pm Stefan Weil

trace-events: Fix broken build caused by wrong format specifier

mem is an uint64_t value, so %lx was wrong.

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

151c5693 03/26/2012 01:28 pm Michael Roth

qapi: remove print statements from test-qmp-commands

This is necessary for nicer make check integration.

Signed-off-by: Michael Roth <>
Signed-off-by: Stefan Hajnoczi <>

2db5b068 03/26/2012 01:28 pm Michael Roth

test: add test-qmp-commands to make check

All the deps are here but the test was never added to the list of tests
for make check

Signed-off-by: Michael Roth <>
Signed-off-by: Stefan Hajnoczi <>

1d6528af 03/26/2012 01:28 pm Eduardo Habkost

vl.c: fix '-cpu ?' segfault

Fix stupid copy&paste mistake at commit
ecf40beae7dcbb057d4f115207f9d8276832a774: I moved code around but kept
"optarg" on the cpu_list() call.

Reported-by: Jiri Denemark <>
Signed-off-by: Eduardo Habkost <>...

3ac805d9 03/26/2012 01:28 pm Michael Roth

test: remove qemu-ga reference

This was added by mistake a while back.

Signed-off-by: Michael Roth <>
Signed-off-by: Stefan Hajnoczi <>