Statistics
| Branch: | Revision:

root @ 3509c396

# Date Author Comment
6d27a409 07/23/2013 01:37 am Andreas Färber

misc/pci-testdev: QOM parent field cleanup

Replace direct uses of PCITestDevState::dev with QOM casts and rename it
to parent_obj.

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

39d45987 07/23/2013 01:37 am Peter Crosthwaite

display/vmware_vga: QOM casting sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST() and
direct -> style casting.

Signed-off-by: Peter Crosthwaite <>
[AF: Renamed to TYPE_VMWARE_VGA and VMWARE_VGA()]
Signed-off-by: Andreas Färber <>

af21c740 07/23/2013 01:37 am Andreas Färber

display/vmware_vga: QOM parent field cleanup

Replace direct uses of pci_vmsvga_state_s::card with QOM casts and
rename it to parent_obj.

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

eb3fedf3 07/23/2013 01:37 am Peter Crosthwaite

misc/ivshmem: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <>
[AF: Simplified casts and converted two more DO_UPCAST()s]...

b7578eaa 07/23/2013 01:37 am Andreas Färber

misc/ivshmem: QOM parent field cleanup

Replace direct uses of IVShmemState::dev with QOM casts and rename it to
parent_obj.

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

51a3fe99 07/23/2013 01:37 am Peter Crosthwaite

xen/xen_platform: QOM casting sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <>
[AF: Dropped opaque casts]
Signed-off-by: Andreas Färber <>

dc4aa51b 07/23/2013 01:37 am Andreas Färber

xen/xen_platform: QOM parent field cleanup

Replace direct uses of PCIXenPlatformState::pci_dev field with QOM casts
and rename it to parent_obj.

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

ce724398 07/23/2013 01:37 am Hu Tao

sysbus: Document SysBusDeviceClass::init and realize semantics

Signed-off-by: Hu Tao <>
[AF: Syntax and wording changes]
Signed-off-by: Andreas Färber <>

1aa0c0c7 07/23/2013 01:37 am Hu Tao

ohci: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

Signed-off-by: Hu Tao <>
[AF: Avoid remaining OHCIPCIState::pci_dev uses, rename parent fields]
Signed-off-by: Andreas Färber <>

457215ec 07/23/2013 01:37 am Hu Tao

ohci: Use QOM realize for OHCI

Signed-off-by: Hu Tao <>
Signed-off-by: Andreas Färber <>

2aedfa46 07/23/2013 01:37 am Hu Tao

i440fx: Use type-safe cast instead of direct access of parent dev

Signed-off-by: Hu Tao <>
[AF: Converted remaining accesses and renamed to parent_obj]
Signed-off-by: Andreas Färber <>

a3560fbf 07/23/2013 01:37 am Hu Tao

i440fx-pcihost: Use QOM realize for i440fx-pcihost

Signed-off-by: Hu Tao <>
Signed-off-by: Andreas Färber <>

ce88812f 07/23/2013 01:37 am Hu Tao

q35: Use type-safe cast instead of direct access of parent dev

And remove variables if possible.

Signed-off-by: Hu Tao <>
[AF: Converted remaining access and renamed to parent_obj]
Signed-off-by: Andreas Färber <>

62d92e43 07/23/2013 01:37 am Hu Tao

q35: Use QOM realize for q35 host bridge

And split off MemoryRegion initialization into instance_init.

Signed-off-by: Hu Tao <>
Signed-off-by: Andreas Färber <>

dd3be742 07/23/2013 01:37 am Hu Tao

fdc: QOM'ify some more

Introduce type constant and avoid DO_UPCAST(), container_of(),
and use DEVICE to avoid accessing parent qdev directly.

Signed-off-by: Hu Tao <>
[AF: Renamed parent field and avoided repeated SYS_BUS_DEVICE() casts]...

f1b44f0e 07/23/2013 01:37 am Hu Tao

pflash-cfi01: QOM'ify some more

Introduce type constant and replace FROM_SYSBUS().

Signed-off-by: Hu Tao <>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <>

3509c396 07/23/2013 01:37 am Hu Tao

pflash-cfi02: QOM'ify some more

Introduce type constant and replace FROM_SYSBUS().

Signed-off-by: Hu Tao <>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <>

567a3c9e 07/23/2013 01:37 am Peter Crosthwaite

net/e1000: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

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

b08340d5 07/23/2013 01:37 am Andreas Färber

net/e1000: QOM parent field cleanup

Replace direct uses of E1000State::dev field with QOM casts and rename
it to parent_obj.

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

39257515 07/23/2013 01:37 am Peter Crosthwaite

net/rtl8139: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

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

88a411a8 07/23/2013 01:37 am Andreas Färber

net/rtl8139: QOM parent field cleanup

Replace direct uses of RTL8139State::dev with QOM casts and rename it to
parent_obj.

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

1f8c7946 07/23/2013 01:37 am Peter Crosthwaite

net/pcnet-pci: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <>
[AF: Renamed parent field, renamed from PC_NET to PCNET]
Signed-off-by: Andreas Färber <>

37034575 07/23/2013 01:37 am Peter Crosthwaite

usb/hcd-xhci: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <>
[AF: Dropped usb_xhci_init() DeviceState argument and renamed variable]...

9b7d3334 07/23/2013 01:37 am Andreas Färber

usb/hcd-xhci: QOM parent field cleanup

Replace direct uses of XHCIState::pci_dev with QOM casts and rename it
to parent_obj.

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

71186c86 07/23/2013 01:37 am Peter Crosthwaite

scsi/lsi53c895a: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

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

725eec70 07/23/2013 01:37 am Andreas Färber

scsi/lsi53c895a: QOM parent field cleanup

Replace direct uses of LSIState::dev with QOM casts and rename it to
parent_obj.

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

c79e16ae 07/23/2013 01:37 am Peter Crosthwaite

scsi/megasas: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

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

52190c1e 07/23/2013 01:37 am Andreas Färber

scsi/megasas: QOM parent field cleanup

Replace direct uses of MegasasState::dev with QOM casts and rename it to
parent_obj.

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

3a15effe 07/23/2013 01:37 am Peter Crosthwaite

scsi/esp-pci: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

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

4e5dcc77 07/23/2013 01:37 am Andreas Färber

scsi/esp-pci: QOM parent field cleanup

Replace direct uses of PCIESPState::dev with QOM casts and rename it to
parent_obj.

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

fd58922c 07/23/2013 01:37 am Peter Crosthwaite

ide/ich: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <>
[AF: Renamed to TYPE_ICH9_AHCI and used typedef in pci_ich9_reset()]...

0d3aea56 07/23/2013 01:37 am Andreas Färber

ide/ich: QOM parent field cleanup

Replace direct uses of AHCIPCIState::card with QOM casts and rename it
to parent_obj.

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

74e445f6 07/23/2013 01:37 am Peter Crosthwaite

acpi/piix4: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

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

6a6b5580 07/23/2013 01:37 am Andreas Färber

acpi/piix4: QOM parent field cleanup

Replace direct uses of PIIX4PMState::dev with QOM casts and rename it to
parent_obj.

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

40108d0a 07/23/2013 01:37 am Peter Crosthwaite

misc/pci-testdev: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <>
[AF: Replaced another DO_UPCAST()]
Signed-off-by: Andreas Färber <>

6783ecf1 07/23/2013 01:37 am Peter Maydell

hw: Avoid use of QOM type name macros in VMStateDescriptions

The name field in a VMStateDescription is part of the migration state
versioning, so changing it will break migration. It's therefore a
bad idea to use a QOM typename macro to initialize it, because in...

3464700f 07/22/2013 11:41 pm Peter Maydell

tests: Add test-bitops.c with some sextract tests

Add some simple test cases for the new sextract32
and sextract64 functions.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>
Message-id: ...

2dc6bebd 07/22/2013 11:41 pm Peter Maydell

bitops: Provide sextract32() and sextract64()

A common operation in instruction decoding is to take a field
from an instruction that represents a signed integer in some
arbitrary number of bits, and sign extend it into a C signed
integer type for manipulation. Provide new functions sextract32()...

fd1d9926 07/22/2013 11:40 pm Alex Williamson

memory: Fix zero-sized memory region print

if mr->size == 0, then

int128_get64(int128_sub(mr->size, int128_make64(1))) => assert(!a.hi)

Also, use int128_one().

Signed-off-by: Alex Williamson <>
Reviewed-by: Paolo Bonzini <>...

53db7854 07/22/2013 11:40 pm Richard Henderson

configure: Remove ldscripts

Since 964c6fa16f50a607f9da5068d6bf15ccc93872c0, these files are unused.

Signed-off-by: Richard Henderson <>
Message-id:
Signed-off-by: Anthony Liguori <>

b1e749c0 07/22/2013 08:52 pm Jan Kiszka

gtk: Fix accelerator filtering

This is in fact very simply: When the input in grabbed, everything
should be exclusively passed to the guest - except it has our magic
CTRL-ALT modifier set. Then let GTK filter out those accels that are in
use. When checking the modifier state, we just need to filter out NUM...

549c272b 07/22/2013 06:14 pm Anthony Liguori

Merge remote-tracking branch 'pmaydell/tags/pull-arm-devs-20130722' into staging

arm-devs queue

  1. gpg: Signature made Mon 22 Jul 2013 06:38:52 AM CDT using RSA key ID 14360CDE
  2. gpg: Can't check signature: public key not found
  1. By Peter Maydell (8) and Soren Brinkmann (2)...
c9fea5d7 07/22/2013 06:14 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/iommu-for-anthony' into staging

  1. By Paolo Bonzini (2) and others
  2. Via Paolo Bonzini
    • bonzini/iommu-for-anthony:
      exec: fix incorrect assumptions in memory_access_size
      memory: Return -1 again on reads from unsigned regions...
a20bd9ee 07/22/2013 06:13 pm Anthony Liguori

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

  1. By Michael Tokarev (2) and others
  2. Via Michael Tokarev
    • mjt/trivial-patches:
      doc: monitor multiplexing rewording
      block/m25p80: Update Micron entries
      Fix command example in qemu.sasl...
5447a9af 07/22/2013 06:13 pm Anthony Liguori

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

  1. By Peter Lieven (5) and others
  2. Via Stefan Hajnoczi
    • stefanha/block:
      block/raw: add .bdrv_get_info
      block: fix bdrv_read_unthrottled()
      cpus: Let vm_stop[_force_state]() always flush block devices...
293706dd 07/22/2013 06:13 pm Anthony Liguori

Merge remote-tracking branch 'rth/axp-next' into staging

  1. By Richard Henderson
  2. Via Richard Henderson
    • rth/axp-next:
      pc-bios: Update palcode-clipper
      target-alpha: Move alarm to vm_clock

Message-id: ...

90c66f58 07/22/2013 06:13 pm Anthony Liguori

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

  1. By Markus Armbruster
  2. Via Stefan Hajnoczi
    • stefanha/tracing:
      trace-events: Fix up source file comments
      trace-events: Drop unused events
      milkymist-minimac2: Fix minimac2_read/_write tracepoints...
fd76663e 07/22/2013 02:01 pm Soren Brinkmann

hw/arm: Use 'load_ramdisk()' for loading ramdisks w/ U-Boot header

The load_ramdisk function is used to load ramdisk featuring a U-Boot
header.

Signed-off-by: Soren Brinkmann <>
Reviewed-by: Peter Maydell <>...

84aee0de 07/22/2013 02:00 pm Soren Brinkmann

hw/loader: Support ramdisk with u-boot header

Introduce 'load_ramdisk()' which can load "normal" ramdisks and ramdisks
with a u-boot header.
To enable this and leverage synergies 'load_uimage()' is refactored to
accomodate this additional use case.

Signed-off-by: Soren Brinkmann <>...

4b52530b 07/19/2013 02:58 pm Peter Maydell

virtio: Implement MMIO based virtio transport

Add support for the generic MMIO based virtio transport.

This patch includes some fixes for bugs spotted by
Ying-Shiuan Pan <>.

Signed-off-by: Peter Maydell <>
Signed-off-by: KONRAD Frederic <>...

3b1cceb8 07/19/2013 02:58 pm Peter Maydell

arm/boot: Allow boards to modify the FDT blob

Add a callback hook in arm_boot_info to allow board models to
modify the device tree blob if they need to. (The major expected
use case is to add virtio-mmio nodes for virtio-mmio transports
that exist in QEMU but not in the hardware.)...

cef04a26 07/19/2013 02:58 pm Peter Maydell

vexpress: Make VEDBoardInfo extend arm_boot_info

Make the VEDBoardInfo struct extend arm_boot_info; this will
allow us to get at the VEDBoardInfo information inside callbacks
from arm/boot code.

Signed-off-by: Peter Maydell <>
Message-id:

c8a07b35 07/19/2013 02:58 pm Peter Maydell

vexpress: Add virtio-mmio transports

Add some virtio-mmio transports to the vexpress board model,
together with a modify_dtb hook which adds them to the device
tree so that the kernel will probe for them. We put them
in a reserved area of the address map....

97c38f8c 07/19/2013 02:58 pm Peter Maydell

device_tree: Add qemu_devtree_setprop_sized_cells() utility functions

We already have a qemu_devtree_setprop_cells() which sets a dtb
property to an array of cells whose values are specified by varargs.
However for the fairly common case of setting a property to a list...

70976c41 07/19/2013 02:58 pm Peter Maydell

arm/boot: Use qemu_devtree_setprop_sized_cells()

Replace the opencoded assembly of the reg property array for the
/memory node with a call to qemu_devtree_setprop_sized_cells().

Signed-off-by: Peter Maydell <>
Reviewed-by: Peter Crosthwaite <>...

e63c0ba1 07/19/2013 02:58 pm Peter Maydell

virtio: Add support for guest setting of queue size

The MMIO virtio transport spec allows the guest to tell the host how
large the queue size is. Add virtio_queue_set_num() function which
implements this in the QEMU common virtio support code.

Signed-off-by: Peter Maydell <>...

6ce69d1c 07/19/2013 02:58 pm Peter Maydell

virtio: Support transports which can specify the vring alignment

Support virtio transports which can specify the vring alignment
(ie where the guest communicates this to the host) by providing
a new virtio_queue_set_align() function. (The default alignment...

43be1343 07/19/2013 11:52 am Petar Jovanovic

linux-user: declare sys_futex to have 6 arguments

sys_futex has 6 arguments, and all of these need to be copied. Fix incorrect
declaration in the mips_syscall_args array.

This change fixes the cases where the 5th and 6th arguments have non-zero
value and have importance. An example is a Linux implementation of...

0e44486c 07/19/2013 11:52 am Michael Tokarev

slirp: remove mbuf(m_hdr,m_dat) indirection

805695da 07/19/2013 11:52 am Cole Robinson

Fix command example in qemu.sasl

sasldblistusers2 doesn't have a '-a' option

Signed-off-by: Cole Robinson <>
Signed-off-by: Michael Tokarev <>

f5aac8e0 07/19/2013 11:52 am Ed Maste

block/m25p80: Update Micron entries

- Split 32Mb and 256Mb parts into a11 and a13 variants.
- Add the 4K sector flag to the 128Mb parts. (These entries were taken from
the Linux kernel list, which is missing the flag.)
- Fill out the table of sizes with entries for 64Mb parts....

be022d61 07/19/2013 11:52 am Michael Tokarev

doc: monitor multiplexing rewording

Signed-off-by: Michael Tokarev <>

a23fdf35 07/19/2013 10:27 am Peter Lieven

block/raw: add .bdrv_get_info

Signed-off-by: Peter Lieven <>
Signed-off-by: Stefan Hajnoczi <>

4e7395e8 07/19/2013 07:29 am Peter Lieven

block: fix bdrv_read_unthrottled()

Signed-off-by: Peter Lieven <>
Reviewed-by: Paolo Bonzini <>
Signed-off-by: Stefan Hajnoczi <>

e01bee08 07/19/2013 07:29 am Bharata B Rao

gluster: Use pkg-config to configure GlusterFS block driver

Use pkg-config to determine the version and library dependency
for GlusterFS block driver.

Signed-off-by: Bharata B Rao <>
Signed-off-by: Stefan Hajnoczi <>

0c14fb47 07/19/2013 07:29 am Bharata B Rao

gluster: Add discard support for GlusterFS block driver.

Implement bdrv_aio_discard for gluster.

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

9154b02c 07/19/2013 07:29 am Stefan Hajnoczi

dataplane: sync virtio.c and vring.c virtqueue state

Load the virtio.c state into vring.c when we start dataplane mode and
vice versa when stopping dataplane mode. This patch makes it possible
to start and stop dataplane any time while the guest is running....

dcc772e2 07/19/2013 07:29 am Liu Ping Fan

QEMUBH: make AioContext's bh re-entrant

BH will be used outside big lock, so introduce lock to protect
between the writers, ie, bh's adders and deleter. The lock only
affects the writers and bh's callback does not take this extra lock.
Note that for the same AioContext, aio_bh_poll() can not run in...

78f27bd0 07/19/2013 07:29 am Fam Zheng

block: fix vvfat error path for enable_write_target

s->qcow and s->qcow_filename are allocated but not freed on error. Fix the
possible leaks, remove unnecessary check for bdrv_new(), propagate ret code of
bdrv_create() and also the one of enable_write_target()....

4105eaaa 07/19/2013 07:29 am Peter Lieven

block: add bdrv_write_zeroes()

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

8bf9344a 07/19/2013 07:29 am Peter Lieven

block/raw: add bdrv_co_write_zeroes

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

323004a3 07/19/2013 07:29 am Peter Lieven

block-migration: efficiently encode zero blocks

this patch adds a efficient encoding for zero blocks by
adding a new flag indicating a block is completely zero.

additionally bdrv_write_zeros() is used at the destination
to efficiently write these zeroes. depending on the implementation...

594a45ce 07/19/2013 07:29 am Kevin Wolf

cpus: Let vm_stop[_force_state]() always flush block devices

Even if the VM is already stopped, we cannot assume that all data has
already been successfully flushed to disk. The flush during the previous
vm_stop() could have failed.

Run bdrv_flush_all() unconditionally so that we get an error each time...

aea6a169 07/18/2013 09:27 pm Markus Armbruster

boot-order-test: Better separate target-specific and generic parts

The initial version did just PC. I didn't bother to separate out
generic parts, because I don't like to abstract from a single case.

Now we have two cases, PC and PowerMac, and I'm about to add more....

484986e2 07/18/2013 09:27 pm Markus Armbruster

boot-order-test: Code motion for better readability

Cc: Andreas Färber <>
Cc: Alexander Graf <>
Cc:
Signed-off-by: Markus Armbruster <>
Message-id: ...

e99f87cc 07/18/2013 09:27 pm Markus Armbruster

boot-order-test: Add tests for PowerPC PREP

Cc: Andreas Färber <>
Cc: Alexander Graf <>
Cc:
Signed-off-by: Markus Armbruster <>
Message-id: ...

f88dc7dd 07/18/2013 09:27 pm Markus Armbruster

boot-order-test: Add tests for Sun4m

Cc: Blue Swirl <>
Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

26491a38 07/18/2013 09:27 pm Markus Armbruster

libqos: Generalize I/O-mapped fw_cfg

Provide a constructor that takes the base address in addition to the
PC-specific one.

Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

24943978 07/18/2013 09:27 pm Markus Armbruster

boot-order-test: Add tests for Sun4u

Cc: Blue Swirl <>
Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

ba646ff6 07/18/2013 09:27 pm Markus Armbruster

qtest: Don't reset on qtest chardev connect

libqtest's qtest_init() connecting to the qtest socket triggers reset.
This was coded in the hope we could use the same QEMU process for
multiple tests that way. Never used. Injects an extra reset even
when it's not used, and that can mess up tests such as the one of...

edbd790d 07/18/2013 09:27 pm Markus Armbruster

boot-order-test: New; covering just PC for now

Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

db2b5500 07/18/2013 09:27 pm Anthony Liguori

libqos: include dependencies

Otherwise rebuilds can fail when libqos is modified.

Reported-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>
Signed-off-by: Markus Armbruster <>
Message-id: ...

7a100165 07/18/2013 09:27 pm Markus Armbruster

libqos: Add support for memory-mapped fw_cfg

Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

530a7e48 07/18/2013 09:27 pm Andreas Färber

boot-order-test: Add tests for PowerMacs

They set the boot device via fw_cfg, which is then translated to a boot
path of "hd" or "cd" in OpenBIOS.

Signed-off-by: Andreas Färber <>
Signed-off-by: Andreas Färber <>
Signed-off-by: Markus Armbruster <>...

995b0e13 07/18/2013 09:27 pm Markus Armbruster

boot-order-test: Cover -boot once in ppc tests

Cc: Andreas Färber <>
Cc: Alexander Graf <>
Cc:
Signed-off-by: Markus Armbruster <>
Message-id: ...

1d9358e6 07/18/2013 07:32 pm Markus Armbruster

libqtest: New qtest_end() to go with qtest_start()

Signed-off-by: Markus Armbruster <>
Reviewed-by: Andreas Färber <>
Reviewed-by: Anthony Liguori <>
Message-id: ...

fdd26fca 07/18/2013 07:32 pm Markus Armbruster

libqtest: Plug fd and memory leaks in qtest_quit()

Reviewed-by: Anthony Liguori <>
Signed-off-by: Markus Armbruster <>
Reviewed-by: Andreas Färber <>
Message-id: ...

293d2a00 07/18/2013 07:22 pm Laszlo Ersek

monitor: maintain at most one G_IO_OUT watch

When monitor_flush() is invoked repeatedly outside the monitor_unblocked()
callback, for example from tlb_info() -> ... -> print_pte(), several
watches may be added for the same event.

This is no problem per se because the extra monitor_unblocked() callbacks...

ac8c26f6 07/18/2013 07:22 pm Laszlo Ersek

char: io_channel_send: don't lose written bytes

The g_io_channel_write_chars() documentation states,

bytes_written: The number of bytes written. This can be nonzero even if
the return value is not G_IO_STATUS_NORMAL. [...]

io_channel_send() could lose such bytes before....

0d185e63 07/18/2013 07:21 pm Peter Maydell

configure: Provide more helpful message if libvte not present

If the system has GTK but not libvte, it's more helpful to
tell the user that libvte is missing than to simply say that
GTK is not present.

Signed-off-by: Peter Maydell <>...

b957a1b0 07/18/2013 06:17 pm Richard Henderson

pc-bios: Update palcode-clipper

Update image to c87a92639b28ac42bc8f6c67443543b405dc479b,
incorporating changes for vm_time.

Signed-off-by: Richard Henderson <>

19e0cbb8 07/18/2013 04:44 pm Richard Henderson

target-alpha: Move alarm to vm_clock

Basing the alarm off the rtc_clock was silly. It leads to horrible
spinning in the guest after being suspended and resumed, as it tries
to catch up with lost ticks.

This requires adding an accessor for reading the vm_clock too....

28199c48 07/18/2013 04:14 pm Anthony Liguori

Merge remote-tracking branch 'awilliam/tags/vfio-for-qemu-1.6' into staging

vfio: enhanced VGA quirks + AER error containment

  1. gpg: Signature made Wed 17 Jul 2013 05:39:38 PM CDT using RSA key ID 3BB08B22
  2. gpg: Can't check signature: public key not found...
bbcf59bc 07/18/2013 04:14 pm Anthony Liguori

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

  1. By Amos Kong (1) and Luiz Capitulino (1)
  2. Via Luiz Capitulino
    • luiz/queue/qmp:
      qmp: update send-key document
      qapi: qapi-commands: fix possible leaks on visitor dealloc

Message-id: ...

5ab4dba4 07/18/2013 04:13 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/scsi-next' into staging

  1. By Peter Lieven (4) and Ronnie Sahlberg (1)
  2. Via Paolo Bonzini
    • bonzini/scsi-next:
      iscsi: factor out sector conversions
      iscsi: assert that sectors are aligned to LUN blocksize
      iscsi: remove support for misaligned nb_sectors in aio_readv...
e9acb8ce 07/18/2013 04:12 pm Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into staging

pci,net,pc enhancements

This includes some fixes and enhancements that accumulated in my tree:
pci fixes by dkoch, virtio-net enhancements by akong and mst,
and a fix for xen pc by mst.

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

cb85f7ab 07/18/2013 07:03 am Peter Maydell

exec.c: Pass correct pointer type to qemu_ram_ptr_length

Commit e3127ae0 introduced a problem where we're passing a
hwaddr* to qemu_ram_ptr_length() but it wants a ram_addr_t*;
this will cause problems on 32 bit hosts and in any case
provokes a clang warning on MacOSX:...

b4afea11 07/18/2013 07:03 am Paolo Bonzini

memory: actually set the owner

Brown paper bag for me. Originally commit 803c0816 came before commit
2c9b15c. When the order was inverted, I left in the NULL initialization
of mr->owner.

Reviewed-by: Hu Tao <>
Signed-off-by: Paolo Bonzini <>

9b8c6924 07/18/2013 07:03 am Jan Kiszka

memory: Return -1 again on reads from unsigned regions

This restore the behavior prior to b018ddf633 which accidentally changed
the return code to 0. Specifically guests probing for register existence
were affected by this.

Signed-off-by: Jan Kiszka <>...

e1622f4b 07/18/2013 07:03 am Paolo Bonzini

exec: fix incorrect assumptions in memory_access_size

access_size_min can be 1 because erroneous accesses must not crash
QEMU, they should trigger exceptions in the guest or just return
garbage (depending on the CPU). I am not sure I understand the
comment: placing a 4-byte field at the last byte of a region...