Statistics
| Branch: | Revision:

root / hw @ 61fcb628

# Date Author Comment
39594968 07/25/2013 04:12 pm Paolo Bonzini

mips_r4k: do not use isa_mmio

This fixes endianness bugs in I/O port access.

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

ee77854f 07/25/2013 04:12 pm Paolo Bonzini

mips_malta: do not use isa_mmio

This fixes endianness bugs in I/O port access.

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

68501502 07/25/2013 04:12 pm Paolo Bonzini

ppc440_bamboo: do not use isa_mmio

This fixes endianness bugs in I/O port access.

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

bdb75c79 07/25/2013 04:12 pm Paolo Bonzini

mipssim: do not use isa_mmio

Untested, this board does not support PCI so it cannot run endianness-test.
It should fix endianness bugs in I/O port access.

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

e37b80fa 07/25/2013 04:12 pm Paolo Bonzini

mips_fulong2e: do not use isa_mmio

This board is little-endian, but still isa_mmio should die. :)

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

5519ad0c 07/25/2013 04:12 pm Paolo Bonzini

sparc64: remove indirection for I/O port access

This fixes endianness bugs in I/O port access.

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

0a70e094 07/25/2013 04:12 pm Paolo Bonzini

ebus: do not use isa_mmio

This is untested, because ebus does not have a libqos module.

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

61fcb628 07/25/2013 04:12 pm Paolo Bonzini

isa_mmio: delete

It is not used anymore.

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

2b1096e0 07/25/2013 04:12 pm Paolo Bonzini

ppc_newworld: do not use isa_mmio

This fixes endianness bugs in I/O port access.

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

66aab867 07/25/2013 04:12 pm Alexey Kardashevskiy

spapr_pci: remove indirection for I/O port access

This fixes endianness bugs in I/O port access.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Paolo Bonzini <>
Reviewed-by: Anthony Liguori <>
Message-id: ...

921f8040 07/25/2013 04:12 pm Paolo Bonzini

prep: fix I/O port endianness

Do not swap endianness here, it will happen during cpu_{in,out}{b,w,l}.

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

f51100cc 07/25/2013 04:12 pm Paolo Bonzini

mips_jazz: do not use isa_mmio

This fixes endianness bugs in I/O port access.

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

4759ab6b 07/25/2013 04:12 pm Paolo Bonzini

sh4: do not use isa_mmio

This fixes endianness bugs in I/O port access (for sh4eb).

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

7d52857e 07/25/2013 04:12 pm Paolo Bonzini

ppc_oldworld: do not use isa_mmio

This fixes endianness bugs in I/O port access.

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

3988982c 07/23/2013 06:57 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging

QOM CPUState refactorings

  • Fix NULL pointer dereference in gdbstub
  • Introduce vaddr type
  • Introduce CPUClass::set_pc()
  • Introduce CPUClass::synchronize_from_tb()
  • Introduce CPUClass::get_phys_page_debug()...
00b941e5 07/23/2013 03:41 am Andreas Färber

cpu: Turn cpu_get_phys_page_debug() into a CPUClass hook

Change breakpoint_invalidate() argument to CPUState alongside.

Since all targets now assign a softmmu-only field, we can drop helpers
cpu_class_set_{do_unassigned_access,vmsd}() and device_class_set_vmsd()....

f17ec444 07/23/2013 03:41 am Andreas Färber

exec: Change cpu_memory_rw_debug() argument to CPUState

Propagate X86CPU in kvmvapic for simplicity.

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

02f9a6f5 07/23/2013 01:37 am Hu Tao

hpet: QOM'ify some more

Introduce type constant, avoid FROM_SYSBUS().

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

98bdc0d7 07/23/2013 01:37 am Hu Tao

kvm/clock: QOM'ify some more

Introduce type constant and avoid FROM_SYSBUS().

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

940194c2 07/23/2013 01:37 am Hu Tao

fdc: Use QOM realize for fdc

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

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

fdc: Improve error propagation for QOM realize

Rename fdctrl_init_common() to fdctrl_realize_common() and let
fdctrl_connect_drives() propagate an Error through it.

Reviewed-by: Hu Tao <>
Reviewed-by: Stefan Hajnoczi <>...

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

pflash_cfi01: Use QOM realize for pflash_cfi01

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

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

pflash_cfi02: Use QOM realize for pflash_cfi02

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

7acb423f 07/23/2013 01:37 am Hu Tao

ahci: Use QOM realize for ahci

Signed-off-by: Hu Tao <>
[AF: Avoided repeated SYS_BUS_DEVICE() casts]
Signed-off-by: Andreas Färber <>

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

fw_cfg: Use QOM realize for fw_cfg

Signed-off-by: Hu Tao <>
[AF: Moved sysbus_init_mmio() to instance_init, renamed variable]
Signed-off-by: Andreas Färber <>

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

scsi/esp: Use QOM realize for scsi esp

Signed-off-by: Hu Tao <>
[AF: Drop sysbus_esp_init()]
Signed-off-by: Andreas Färber <>

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

megasas: Legacy command line handling fix

Only apply legacy command line handling when the device has not been
hot-plugged. Propagate failure of legacy command line handling.

Cc:
Acked-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

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

scsi: Improve error propagation for scsi_bus_legacy_handle_cmdline()

Let scsi_bus_legacy_add_drive() and scsi_bus_legacy_handle_cmdline()
return an Error**. Prepare qdev initfns for QOM realize error model.

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

726887ef 07/23/2013 01:37 am Hu Tao

hpet: Use QOM realize for hpet

Signed-off-by: Hu Tao <>
[AF: Avoided SYS_BUS_DEVICE() in loop]
Signed-off-by: Andreas Färber <>

913bc638 07/23/2013 01:37 am Hu Tao

kvm/clock: Use QOM realize for kvmclock

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

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

kvmvapic: Use QOM realize

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

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

ioapic: Use QOM realize for ioapic

Signed-off-by: Hu Tao <>
[AF: Tweaked error message]
Signed-off-by: Andreas Färber <>

52785d99 07/23/2013 01:37 am Hu Tao

isa-bus: Drop isabus_bridge_init() since it does nothing

This works since commit 4ce5dae88ecf2bafa0cd663de7e923728b1b3672.

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

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

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

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

ahci: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

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

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

fwcfg: QOM'ify some more

Use type constant if possible and avoid DO_UPCAST().

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

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

scsi/esp: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

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

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

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

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

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

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

f3a64b8c 07/18/2013 06:44 am Markus Armbruster

slavio_misc: Fix slavio_led_mem_readw/_writew tracepoints

Broken since they got added in commit 97bf485.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Stefan Hajnoczi <>

0ece9671 07/18/2013 06:44 am Markus Armbruster

milkymist-minimac2: Fix minimac2_read/_write tracepoints

Broken in milkymist-minimac.c from the start (commit 0742454),
faithfully moved to milkymist-minimac2.c (commit 57aa265).

Signed-off-by: Markus Armbruster <>
Signed-off-by: Stefan Hajnoczi <>

7b4b0e9e 07/16/2013 12:49 am Vijay Mohan Pandarathil

vfio: QEMU-AER: Qemu changes to support AER for VFIO-PCI devices

Add support for error containment when a VFIO device assigned to a KVM
guest encounters an error. This is for PCIe devices/drivers that support AER
functionality. When the host OS is notified of an error in a device either...

39360f0b 07/16/2013 12:48 am Alex Williamson

vfio-pci: VGA quirk update

Turns out all the suspicions for AMD devices were correct, everywhere
we read a BAR address that the address matches the config space offset,
there's full access to PCI config space. Attempt to generalize some
helpers to allow quirks to easily be added for mirrors and windows....

2562becf 07/15/2013 10:02 pm Anthony Liguori

Merge remote-tracking branch 'cohuck/virtio-ccw-upstr' into staging

  1. By Dominik Dingel
  2. Via Cornelia Huck
    • cohuck/virtio-ccw-upstr:
      virtio-ccw: Enable x-data-plane for virtio-ccw-blk

Message-id: ...

1750d019 07/15/2013 10:02 pm Anthony Liguori

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

arm-devs queue

  1. gpg: Signature made Mon 15 Jul 2013 10:53:44 AM CDT using RSA key ID 14360CDE
  2. gpg: Can't check signature: public key not found
  1. By Peter Maydell (4) and others...
a34001fa 07/15/2013 10:00 pm Anthony Liguori

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

  1. By Richard Henderson
  2. Via Richard Henderson
    • rth/axp-next:
      hw/alpha: Use SRM epoch
      hw/alpha: Drop latch_tmp hack
      exec: Support 64-bit operations in address_space_rw
      hw/alpha: Don't machine check on missing pci i/o...
d26d9e14 07/15/2013 09:26 pm Michael S. Tsirkin

pc: don't access fw cfg if NULL

commit f8c457b88d72a48989f190bc3d7b79f4f3b7d11c
"pc: pass PCI hole ranges to Guests"
broke Xen as it has no fw_cfg.
Check for this configuration and boil out.

Signed-off-by: Michael S. Tsirkin <>
Tested-by: Stefano Stabellini <>

b1be4280 07/15/2013 09:23 pm Amos Kong

net: add support of mac-programming over macvtap in QEMU side

Currently macvtap based macvlan device is working in promiscuous
mode, we want to implement mac-programming over macvtap through
Libvirt for better performance.

Design:
QEMU notifies Libvirt when rx-filter config is changed in guest,...

bf72d89f 07/15/2013 06:39 pm Dominik Dingel

virtio-ccw: Enable x-data-plane for virtio-ccw-blk

Add property x-data-plane to virtio-ccw-blk devices.

Signed-off-by: Dominik Dingel <>
Signed-off-by: Cornelia Huck <>