Statistics
| Branch: | Revision:

root / hw @ a0c8699b

# Date Author Comment
ea9ad3e9 09/20/2013 02:55 pm Heinz Graalfs

s390/sclpconsole: modify definition of input buffer

To use VMState for migration, we need to adapt some sclp code:
- allocate console buffer as part of the console
- change semantic of sclpconsole offset fields

Signed-off-by: Heinz Graalfs <>...

cb335beb 09/20/2013 02:55 pm Heinz Graalfs

s390/sclpconsole: Add code to support live migration for sclpconsole

This patch adds the necessary life migration pieces to the sclp code
by using vmstate_register.

Signed-off-by: Heinz Graalfs <>
Reviewed-by: Alexander Graf <>...

7e36b7a3 09/20/2013 02:55 pm Heinz Graalfs

s390/sclpquiesce: Add code to support live migration

This patch adds the necessary life migration pieces to sclpquiesce
by using the vmstate_register.

Signed-off-by: Heinz Graalfs <>
Reviewed-by: Alexander Graf <>
Signed-off-by: Christian Borntraeger <>

3af6de32 09/20/2013 02:55 pm Heinz Graalfs

s390/sclp: add reset() functions

Add reset() functions for event-facility, sclpconsole, and sclpquiesce.
The reset() functions perform variable initialization
at IPL and e.g. when monitor system_reset is called.

Signed-off-by: Heinz Graalfs <>...

a0c8699b 09/20/2013 02:55 pm Ralf Hoppe

s390/eventfacility: fix multiple Read Event Data sources

Make the handler for SCLP Read Event Data deal with notifications
for multiple sources correctly.

Signed-off-by: Ralf Hoppe <>
Reviewed-by: Thomas Huth <>
Signed-off-by: Christian Borntraeger <>...

5dc11192 09/17/2013 05:51 pm Anthony Liguori

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

  1. By Max Reitz (16) and others
  2. Via Kevin Wolf
    • kwolf/for-anthony: (33 commits)
      qemu-iotests: Fix test 038
      block: Assert validity of BdrvActionOps
      qemu-iotests: Cleanup test image in test number 007...
7d41364e 09/17/2013 05:50 pm Anthony Liguori

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

  1. By Peter Lieven (3) and others
  2. Via Paolo Bonzini
    • bonzini/scsi-next:
      spapr-vscsi: Report error on unsupported MAD requests
      spapr-vscsi: Adding VSCSI capabilities
      iscsi: split discard requests in multiple parts...
7f87af39 09/12/2013 07:45 pm Markus Armbruster

pc_sysfw: Fix ISA BIOS init for ridiculously big flash

pc_isa_bios_init() suffers integer overflow for flash larger than
INT_MAX.

Signed-off-by: Markus Armbruster <>
Acked-by: Laszlo Ersek <>
Acked-by: Stefano Stabellini <>...

26573a0c 09/12/2013 02:15 pm Nikunj A. Dadhania

spapr-vscsi: Adding VSCSI capabilities

This implements capabilities exchange between vscsi host and client. As
at the moment no capability is supported, put zero flags everywhere and
return.

Signed-off-by: Nikunj A Dadhania <>
Signed-off-by: Paolo Bonzini <>...

f4ff3b7b 09/12/2013 02:15 pm Alexey Kardashevskiy

spapr-vscsi: Report error on unsupported MAD requests

The existing driver just dropped unsupported requests. This adds error
responses to those unhandled requests.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Paolo Bonzini <>

34b5d2c6 09/12/2013 11:12 am Max Reitz

block: Error parameter for open functions

Add an Error ** parameter to bdrv_open, bdrv_file_open and associated
functions to allow more specific error messages.

Signed-off-by: Max Reitz <>

eb37f146 09/12/2013 09:46 am Alexey Kardashevskiy

spapr-vscsi: add task management

At the moment the guest kernel issues two types of task management
requests to the hypervisor - task about and lun reset. This adds
handling for these tasks. As spapr-vscsi starts calling scsi_req_cancel(),
free_request callback was implemented....

a27292b5 09/12/2013 09:46 am Markus Armbruster

virtio-scsi: Make type virtio-scsi-common abstract

It's the abstract base of virtio-scsi-device and vhost-scsi.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Paolo Bonzini <>

c24e7517 09/12/2013 09:46 am Markus Armbruster

scsi: Fix scsi_bus_legacy_add_drive() scsi-generic with serial

scsi_bus_legacy_add_drive() creates either a scsi-disk or a
scsi-generic device. It sets property "serial" to argument serial
unless null. Crashes with scsi-generic, because it doesn't have such...

92794105 09/12/2013 09:46 am Peter Maydell

hw/scsi/lsi53c895a: Use sextract32 for sign-extension

Use sextract32() for doing sign-extension rather than rolling
our own implementation.

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

57ffcc4c 09/12/2013 09:46 am Peter Maydell

hw/scsi/lsi53c895a: Use deposit32 rather than handcoded shift/mask

Use deposit32() rather than handcoded shifts/masks to update the
scratch registers. This is cleaner and incidentally avoids a clang
sanitizer complaint ("runtime error: left shift of 255 by 24 places...

2d1fe187 09/11/2013 10:46 pm Anthony Liguori

Merge remote-tracking branch 'pmaydell/tags/pull-target-arm-20130910' into staging

ARM queue: * aarch64 preparation patchset (excluding the defconfigs, so this
doesn't actually enable the new targets yet) * minor bugfixes and cleanups * disable "-cpu any" in system emulation mode...

d985bd4d 09/11/2013 10:46 pm Anthony Liguori

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

  1. By Gerd Hoffmann (2) and Christophe Fergeau (1)
  2. Via Gerd Hoffmann
    • spice/spice.v73:
      qxl: fix local renderer
      qxl: trace io port name
      spice-core: Use g_strdup_printf instead of snprintf...
a640f07c 09/11/2013 10:46 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.89' into staging

  1. By Gerd Hoffmann (2) and Miroslav Rezanina (2)
  2. Via Gerd Hoffmann
    • kraxel/usb.89:
      ehci: save device pointer in EHCIState
      Remove dev-bluetooth.c dependency from vl.c
      Preparation for usb-bt-dongle conditional build...
f69f0bca 09/11/2013 10:46 pm Anthony Liguori

Merge remote-tracking branch 'mdroth/qga-pull-2013-9-9' into staging

  1. By Tomoki Sekiyama (10) and Paul Burton (1)
  2. Via Michael Roth
    • mdroth/qga-pull-2013-9-9:
      QMP/qemu-ga-client: Make timeout longer for guest-fsfreeze-freeze command
      qemu-ga: Install Windows VSS provider on `qemu-ga -s install'...
97fdb941 09/11/2013 10:45 pm Anthony Liguori

Merge remote-tracking branch 'sstabellini/xen-2013-09-09' into staging

  1. By Anthony PERARD
  2. Via Stefano Stabellini
    • sstabellini/xen-2013-09-09:
      pc_q35: Initialize Xen.
      pc: Initializing ram_memory under Xen.

Message-id: ...

964737ea 09/11/2013 10:45 pm Anthony Liguori

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

  1. By Paolo Bonzini (21) and others
  2. Via Stefan Hajnoczi
    • stefanha/block: (42 commits)
      qemu-iotests: Fixed test case 026
      qemu-iotests: Whitespace cleanup
      dataplane: Fix startup race.
      block: look for zero blocks in bs->file...
031c44e4 09/10/2013 09:09 pm Peter Maydell

pl110: Clarify comment about PL110 ID on VersatilePB

Clarify a comment about the ID register value presented by
the PL110 variant present on the VersatilePB board (based
on testing what the actual hardware does), to indicate that
this is not an error in our emulation, and to remove an #if-0....

615fe4de 09/10/2013 12:14 pm Miroslav Rezanina

Remove dev-bluetooth.c dependency from vl.c

Use usb_legacy_register handling to create bt-dongle device and remove code
dependency from vl.c so CONFIG_USB_BLUETOOTH can be disabled.

Signed-off-by: Miroslav Rezanina <>
Signed-off-by: Gerd Hoffmann <>

adbecc89 09/10/2013 12:14 pm Gerd Hoffmann

ehci: save device pointer in EHCIState

We'll need a pointer to the actual pci/sysbus device,
stick a pointer to it into the EHCIState struct.

https://bugzilla.redhat.com/show_bug.cgi?id=1005495

Signed-off-by: Gerd Hoffmann <>

c60174e8 09/10/2013 12:14 pm Gerd Hoffmann

usb: sanity check setup_index+setup_len in post_load

Signed-off-by: Gerd Hoffmann <>

644e1a8a 09/10/2013 12:14 pm Miroslav Rezanina

Preparation for usb-bt-dongle conditional build

To allow disable usb-bt-dongle device using CONFIG_BLUETOOTH option, some of
functions in vl.c file has to be made accessible in dev-bluetooth.c. This is
pure code moving.

Signed-off-by: Miroslav Rezanina <>...

18b20385 09/10/2013 12:14 pm Gerd Hoffmann

qxl: trace io port name

Signed-off-by: Gerd Hoffmann <>

c58c7b95 09/10/2013 12:14 pm Gerd Hoffmann

qxl: fix local renderer

The local spice renderer assumes the primary surface is located at the
start of the "ram" bar. This used to be a requirement in qxl hardware
revision 1. In revision 2+ this is relaxed. Nevertheless guest drivers
continued to use the traditional location, for historical and backward...

6f88009e 09/09/2013 10:17 pm Tomoki Sekiyama

Add c++ keywords to QAPI helper script

Add c++ keywords to avoid errors in compiling with c++ compiler.
This also renames class member of PciDeviceInfo to q_class.

Signed-off-by: Tomoki Sekiyama <>
Reviewed-by: Laszlo Ersek <>...

94c2b6af 09/09/2013 07:42 pm Paul Burton

mips_malta: support up to 2GiB RAM

A Malta board can support up to 2GiB of RAM. Since the unmapped kseg0/1
regions are only 512MiB large & the latter 256MiB of those are taken up
by the IO region, access to RAM beyond 256MiB must be done through a
mapped region. In the case of a Linux guest this means we need to use...

254c1282 09/09/2013 07:24 pm Anthony PERARD

pc_q35: Initialize Xen.

Signed-off-by: Anthony PERARD <>
Signed-off-by: Stefano Stabellini <>
Acked-by: Michael S. Tsirkin <>

04d7bad8 09/09/2013 07:22 pm Anthony PERARD

pc: Initializing ram_memory under Xen.

Signed-off-by: Anthony PERARD <>
Signed-off-by: Stefano Stabellini <>
Acked-by: Michael S. Tsirkin <>
CC:

45d883dc 09/06/2013 06:27 pm Aurelien Jarno

ne2000: mark I/O as LITTLE_ENDIAN

Now that the memory subsystem is propagating the endianness correctly,
the ne2000 device should have its I/O ports marked as LITTLE_ENDIAN, as
PCI devices are little endian.

This makes the ne2000 NIC to work again on PowerPC....

3dbb9786 09/06/2013 06:25 pm Brad Smith

vmxnet3: Eliminate __packed redefined warning

This eliminates a warning about __packed being redefined as exposed by the
vmxnet3 code. __packed is not used anywhere in the vmxnet3 code.

CC    hw/net/vmxnet3.o
In file included from hw/net/vmxnet3.c:29:...
e9845f09 09/06/2013 06:25 pm Vincenzo Maffione

e1000: add interrupt mitigation support

This patch partially implements the e1000 interrupt mitigation mechanisms.
Using a single QEMUTimer, it emulates the ITR register (which is the newer
mitigation register, recommended by Intel) and approximately emulates...

8caf907f 09/06/2013 04:25 pm Cornelia Huck

dataplane: Fix startup race.

Avoid trying to setup dataplane again if dataplane setup is already in
progress. This may happen if an eventfd is triggered during setup.

I saw this occasionally with an experimental s390 irqfd implementation:

virtio_blk_handle_output...

4f6fd349 09/06/2013 04:25 pm Fam Zheng

block: make bdrv_delete() static

Manage BlockDriverState lifecycle with refcnt, so bdrv_delete() is no
longer public and should be called by bdrv_unref() if refcnt is
decreased to 0.

This is an identical change because effectively, there's no multiple
reference of BDS now: no caller of bdrv_ref() yet, only bdrv_new() sets...

c0777fe1 09/06/2013 04:25 pm Fam Zheng

xen_disk: simplify blk_disconnect with refcnt

We call bdrv_attach_dev when initializing whether or not bs is created
locally, so call bdrv_detach_dev and let the refcnt handle the
lifecycle.

Signed-off-by: Fam Zheng <>
Signed-off-by: Stefan Hajnoczi <>

aaa6a401 09/03/2013 08:33 pm Anthony Liguori

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

QOM CPUState refactorings / X86CPU

  • Conversion of global CPU list to QTAILQ - preparing for CPU hot-unplug
  • Document X86CPU magic numbers for CPUID cache info
  1. gpg: Signature made Tue 03 Sep 2013 10:59:22 AM CDT using RSA key ID 3E7E013F...
5a93d5c2 09/03/2013 08:31 pm Anthony Liguori

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

  1. By Stefan Weil (6) and others
  2. Via Michael Tokarev
    • mjt/trivial-patches:
      aio / timers: use g_usleep() not sleep()
      adlib: sort offsets in portio registration
      qmp: fix integer usage in examples...
9ea0f58f 09/03/2013 08:31 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.88' into staging

  1. By Gerd Hoffmann (10) and Marcel Apfelbaum (1)
  2. Via Gerd Hoffmann
    • kraxel/usb.88:
      usb/dev-hid: Modified usb-tablet category from Misc to Input
      Revert "usb-hub: report status changes only once"...
9889e04a 09/03/2013 08:31 pm Anthony Liguori

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

pc,pci,virtio fixes and cleanups

This includes pc and pci cleanups and enhancements,
and a virtio bugfix for level interrupts.

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

  1. gpg: Signature made Sun 01 Sep 2013 03:15:36 AM CDT using RSA key ID D28D5469...
5cff81f0 09/03/2013 08:30 pm Anthony Liguori

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

QOM device refactorings

  • Fix QOM and ISA documentation errors
  • Extend object_initialize() et al. to check the instance size
  1. gpg: Signature made Fri 30 Aug 2013 02:19:48 PM CDT using RSA key ID 3E7E013F...
bdc44640 09/03/2013 01:25 pm Andreas Färber

cpu: Use QTAILQ for CPU list

Introduce CPU_FOREACH(), CPU_FOREACH_SAFE() and CPU_NEXT() shorthand
macros.

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

38fcbd3f 09/03/2013 01:25 pm Andreas Färber

cpu: Replace qemu_for_each_cpu()

It was introduced to loop over CPUs from target-independent code, but
since commit 182735efaf956ccab50b6d74a4fed163e0f35660 target-independent
CPUState is used.

A loop can be considered more efficient than function calls in a loop,...

27013bf2 09/03/2013 12:30 pm Andreas Färber

a15mpcore: Use qemu_get_cpu() for generic timers

This simplifies the loop and aids with refactoring of CPU list.

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

c96c41ed 09/02/2013 12:06 pm Gerd Hoffmann

usb: parallelize usb3 streams

usb3 bulk endpoints with streams are implicitly pipelined now,
so the requests will actually be processed in parallel. Also
allow them to complete out-of-order.

Fixes stalls in the uas driver.

Cc:
Signed-off-by: Gerd Hoffmann <>

b8cbc137 09/02/2013 12:06 pm Gerd Hoffmann

usb-hub: add tracepoint for status reports

Signed-off-by: Gerd Hoffmann <>

bdebd6ee 09/02/2013 12:06 pm Gerd Hoffmann

Revert "usb-hub: report status changes only once"

This reverts commit a309ee6e0a256f690760abfba44fceaa52a7c2f3.

This isn't in line with the usb specification and adds regressions,
win7 fails to drive the usb hub for example.

Was added because it "solved" the issue of hubs interacting badly...

31efd2e8 09/02/2013 12:06 pm Marcel Apfelbaum

usb/dev-hid: Modified usb-tablet category from Misc to Input

usb-tablet device was wrongly assigned to Misc category

Reported-by: Markus Armbruster <>
Cc:
Signed-off-by: Marcel Apfelbaum <>
Reviewed-by: Andreas Färber <>...

52190422 09/02/2013 12:06 pm Gerd Hoffmann

xhci: remove leftover debug printf

Signed-off-by: Gerd Hoffmann <>

1c82392a 09/02/2013 12:06 pm Gerd Hoffmann

xhci: add tracepoint for endpoint state changes

Signed-off-by: Gerd Hoffmann <>

65d81ed4 09/02/2013 12:06 pm Gerd Hoffmann

xhci: add port to slot_address tracepoint

Signed-off-by: Gerd Hoffmann <>

ca716278 09/02/2013 12:06 pm Gerd Hoffmann

xhci: fix endpoint interval calculation

Cc:
Signed-off-by: Gerd Hoffmann <>

4d7a81c0 09/02/2013 12:06 pm Gerd Hoffmann

xhci: emulate intr endpoint intervals correctly

Respect the interval for interrupt endpoints, so we don't finish
transfers as fast as possible but at the rate configured by the guest.

Fixes guest deadlocks triggered by interrupt storms.

Cc:
Signed-off-by: Gerd Hoffmann <>

5c67dd7b 09/02/2013 12:06 pm Gerd Hoffmann

xhci: reset port when disabling slot

Cc:
Signed-off-by: Gerd Hoffmann <>

1556a8fc 09/02/2013 12:06 pm Gerd Hoffmann

uas: add property for request logging

Signed-off-by: Gerd Hoffmann <>

7e472264 09/02/2013 11:06 am Alexey Kardashevskiy

PPC: spapr: iommu: rework traces

This converts old style fprintf to traces.

Signed-off-by: Alexey Kardashevskiy <>
[agraf: change patch subject]
Signed-off-by: Alexander Graf <>

5dac82ce 09/02/2013 11:06 am Alexey Kardashevskiy

spapr-pci: fix config space access to support bridges

spapr-pci config space accessors use find_dev() to find a PCI device.
However find_dev() only searched on a primary bus and did not do
recursive search through secondary buses so config space access was not...

f1c2dc7c 09/02/2013 11:06 am Alexey Kardashevskiy

spapr-pci: rework MSI/MSIX

On the sPAPR platform a guest allocates MSI/MSIX vectors via RTAS
hypercalls which return global IRQ numbers to a guest so it only
operates with those and never touches MSIMessage.

Therefore MSIMessage handling is completely hidden in QEMU....

33a0e5d8 09/02/2013 11:06 am Alexey Kardashevskiy

xics: move registration of global state to realize()

Registration of global state belongs into realize so move it there.

Signed-off-by: Alexey Kardashevskiy <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Alexander Graf <>

42561bf2 09/02/2013 11:06 am Anton Blanchard

pseries: Add H_SET_MODE hcall to change guest exception endianness

H_SET_MODE is used for controlling various partition settings. One
of these settings is the endianness a guest takes its exceptions in.

Signed-off-by: Anton Blanchard <>
[agraf: fix whitespace]...

59760f2d 09/02/2013 11:06 am Alexey Kardashevskiy

spapr: add "stop-self" RTAS call required to support hot CPU unplug

PAPR+ requires two RTAS calls to be supported by the hypervisor in
order to allow hotplugging VCPUs from the guest. The "start-cpu" RTAS
call was already there but "stop-self" was not.

This adds the "stop-self" RTAS call....

7770b6f7 09/02/2013 11:06 am Anton Blanchard

pseries: Fix stalls on hypervisor virtual console

A number of users are reporting stalls when using the pseries
hypervisor virtual console.

A simple test case is to paste 15 or 17 characters at a time
into the console. Pasting 15 characters at a time works fine...

daf285b6 09/02/2013 11:06 am Efimov Vasily

ppc: virtex_ml507: QEMU_OPTION_dtb support for this machine.

QEMU has 'dtb' option for specifing the device tree file for the kernel.
The patch adds support for this option to the 'virtex_ml507' machine
implementation.

Signed-off-by: Efimov Vasily <>...

bf2ed917 09/02/2013 11:06 am Andreas Färber

ppc405_boards: Disable debug output

Also move one stray debug output into an #ifdef.

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

0d84382e 09/02/2013 11:06 am Andreas Färber

ppc405_uc: Disable debug output

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

ad9990ac 09/02/2013 11:06 am Andreas Färber

ppc405_boards: Don't enforce presence of firmware for qtest

Adopt error_report() while at it.

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

28290f37 09/02/2013 11:06 am Alexander Graf

PPC: E500: Generate device tree on reset

Today we generate the device tree once on machine initialization and then
store the finalized blob in memory to reload it on reset.

This is bad for 2 reasons. First we potentially waste a bunch of RAM for no
good reason, as we have all information required to regenerate the device...

2b21fb57 09/01/2013 06:59 pm Hervé Poussineau

adlib: sort offsets in portio registration

This fixes the following assert when -device adlib is used:
ioport.c:240: portio_list_add: Assertion `pio->offset >= off_last' failed.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Michael Tokarev <>

56f99ea1 09/01/2013 06:32 pm Antony Pavlov

pflash_cfi02.c: fix debug macro

If PFLASH_DEBUG is enabled then we have some build errors:

hw/block/pflash_cfi02.c: In function ‘pflash_timer’:
hw/block/pflash_cfi02.c:128:5: error: expected ‘)’ before string constant
hw/block/pflash_cfi02.c:128:5: error: too few arguments to function ‘fprintf’...

4c293dc6 09/01/2013 05:59 pm Stefan Weil

misc: Fix some typos in names and comments

Most typos were found using a modified version of codespell:

accross -> across
issueing -> issuing
TICNT_THRESHHOLD -> TICNT_THRESHOLD
bandwith -> bandwidth
VCARD_7816_PROPIETARY -> VCARD_7816_PROPRIETARY
occured -> occurred...

23fe2b3f 09/01/2013 11:15 am Michael S. Tsirkin

virtio_pci: fix level interrupts with irqfd

commit 62c96360ae7f2c7a8b029277fbb7cb082fdef7fd
virtio-pci: fix level interrupts
only helps systems without irqfd: on systems with irqfd support we
passed in flag requesting irqfd even when msix is disabled....

a0dba644 09/01/2013 10:43 am Michael S. Tsirkin

pc: reduce duplication, fix PIIX descriptions

We have a lot of code duplication between machine types,
this increases with each new machine type
and each new field.

This has already introduced a minor bug: description
for pc-1.3 says "Standard PC" while description for...

213f0c4f 08/30/2013 10:15 pm Andreas Färber

qom: Pass available size to object_initialize()

To be passed on to object_initialize_with_type().

Acked-by: Cornelia Huck <> (virtio-ccw)
Signed-off-by: Andreas Färber <>

fb17dfe0 08/30/2013 10:15 pm Andreas Färber

qdev: Pass size to qbus_create_inplace()

To be passed to object_initialize().

Since commit 39355c3826f5d9a2eb1ce3dc9b4cdd68893769d6 the argument is
void*, so drop some superfluous (BusState *) casts or direct parent
field usages.

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

e5f72039 08/30/2013 09:14 pm Andreas Färber

virtio-mmio: Pass size to virtio_mmio_bus_new()

To be passed to qbus_create_initialize().

Reviewed-by: Wenchao Xia <>
Signed-off-by: Andreas Färber <>

c6baf942 08/30/2013 09:14 pm Andreas Färber

ide: Pass size to ide_bus_new()

To be passed to qbus_create_inplace().

Reviewed-by: Wenchao Xia <>
Signed-off-by: Andreas Färber <>

dd301ca6 08/30/2013 09:14 pm Andreas Färber

pci: Pass size to pci_bus_new_inplace()

To be passed to qbus_create_inplace().

Reviewed-by: Wenchao Xia <>
Signed-off-by: Andreas Färber <>

b1187b51 08/30/2013 09:14 pm Andreas Färber

scsi: Pass size to scsi_bus_new()

To be passed to qbus_create_inplace().

Use DEVICE casts instead of direct parent field access.

Reviewed-by: Wenchao Xia <>
Acked-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

c889b3a5 08/30/2013 09:14 pm Andreas Färber

usb: Pass size to usb_bus_new()

To be passed to qbus_create_inplace().

Use DEVICE cast to avoid a direct parent field access.

Reviewed-by: Wenchao Xia <>
Signed-off-by: Andreas Färber <>

ac7af112 08/30/2013 09:14 pm Andreas Färber

virtio-pci: Pass size to virtio_pci_bus_new()

To be passed to qbus_create_inplace().

Reviewed-by: Wenchao Xia <>
Signed-off-by: Andreas Färber <>

5d6c0c49 08/30/2013 09:14 pm Andreas Färber

s390-virtio-bus: Pass size to virtio_s390_bus_new()

To be passed to qbus_create_inplace().

Reviewed-by: Wenchao Xia <>
Signed-off-by: Andreas Färber <>

1bf4d7aa 08/30/2013 09:14 pm Andreas Färber

virtio-ccw: Pass size to virtio_ccw_bus_new()

To be passed to qbus_create_inplace().

Reviewed-by: Wenchao Xia <>
Acked-by: Cornelia Huck <>
Signed-off-by: Andreas Färber <>

e65177a8 08/30/2013 09:14 pm Peter Maydell

virtio: Remove unnecessary OBJECT casts

There's no need to cast the first argument of object_initialize()
to Object. Remove these unnecessary casts.

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

ab809e84 08/30/2013 09:14 pm Andreas Färber

intel-hda: Pass size to hda_codec_bus_init()

To be passed to qbus_create_inplace().

Reviewed-by: Wenchao Xia <>
Signed-off-by: Andreas Färber <>

77cbb28a 08/30/2013 09:14 pm Andreas Färber

ipack: Pass size to ipack_bus_new_inplace()

To be passed to qbus_create_inplace().

Simplify DEVICE cast to avoid parent field access.

Reviewed-by: Wenchao Xia <>
Signed-off-by: Andreas Färber <>

4e872a3f 08/30/2013 01:49 pm Christian Borntraeger

s390: provide I/O subsystem reset

Provide a function that resets the I/O subsystem.

Signed-off-by: Christian Borntraeger <>
Acked-by: Alexander Graf <>

b5d54bd4 08/30/2013 01:21 am Anthony Liguori

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

  • qemu-kvm/uq/master:
    kvm-stub: fix compilation
    kvm: shorten the parameter list for get_real_device()
    kvm: i386: fix LAPIC TSC deadline timer save/restore
    kvm-all.c: max_cpus should not exceed KVM vcpu limit...
3e998a77 08/30/2013 01:19 am Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into stable-1.5

pc,pci,virtio fixes and cleanups

This includes pc and pci cleanups, future-proofing of ROM files,
and a virtio bugfix correcting splice on virtio console.

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

c1654732 08/28/2013 10:16 am Markus Armbruster

hw: Clean up bogus default boot order

We set default boot order "cad" in every single machine definition
except "pseries" and "moxiesim", even though very few boards actually
care for boot order, and "cad" makes sense for even fewer.

Machines that care:...

3bf4dfdd 08/28/2013 10:11 am Alexey Kardashevskiy

pci: add config space access traces

This adds pci_cfg_read and pci_cfg_write traces for config spaces
accesses.

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

1466cef3 08/27/2013 10:13 am Michael S. Tsirkin

pc: fix regression for 64 bit PCI memory

commit 398489018183d613306ab022653552247d93919f
pc: limit 64 bit hole to 2G by default
introduced a way for management to control
the window allocated to the 64 bit PCI hole.

This is useful, but existing management tools do not know how to set...

9eda7d37 08/27/2013 08:30 am Alexey Kardashevskiy

pci: Introduce helper to retrieve a PCI device's DMA address space

A PCI device's DMA address space (possibly an IOMMU) is returned by a
method on the PCIBus. At the moment that only has one caller, so the
method is simply open coded. We'll need another caller for VFIO, so...

f7ad538e 08/26/2013 05:19 pm Anthony Liguori

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

  1. By Alex Bligh (32) and others
  2. Via Stefan Hajnoczi
    • stefanha/block: (42 commits)
      win32-aio: drop win32_aio_flush_cb()
      aio-win32: replace incorrect AioHandler->opaque usage with ->e
      aio / timers: remove dummy_io_handler_flush from tests/test-aio.c...
1ae2757c 08/25/2013 12:52 pm yinyin

virtio: virtqueue_get_avail_bytes: fix desc_pa when loop over the indirect descriptor table

virtqueue_get_avail_bytes: when found a indirect desc, we need loop over it.
/* loop over the indirect descriptor table */
indirect = 1;
max = vring_desc_len(desc_pa, i) / sizeof(VRingDesc);...

867c47cb 08/23/2013 12:37 pm Wei Yang

kvm: shorten the parameter list for get_real_device()

get_real_device() has 5 parameters with the last 4 is contained in the first
structure.

This patch removes the last 4 parameters and directly use them from the first
parameter.

Acked-by: Alex Williamson <>...

884f17c2 08/22/2013 08:14 pm Alex Bligh

aio / timers: Convert rtc_clock to be a QEMUClockType

Convert rtc_clock to be a QEMUClockType

Move rtc_clock users to use the new API

Signed-off-by: Alex Bligh <>
Signed-off-by: Stefan Hajnoczi <>

bc72ad67 08/22/2013 08:14 pm Alex Bligh

aio / timers: Switch entire codebase to the new timer API

This is an autogenerated patch using scripts/switch-timer-api.

Switch the entire code base to using the new timer API.

Note this patch may introduce some line length issues.

Signed-off-by: Alex Bligh <>...