Statistics
| Branch: | Revision:

root / hw @ e0e8384d

# Date Author Comment
e0e8384d 07/23/2011 07:21 pm Markus Armbruster

ide: Turn properties any IDE device must have into bus properties

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

d6cca4b0 07/23/2011 07:20 pm Markus Armbruster

virtio-serial: Turn props any virtio-serial-bus device must have into bus props

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

1cc2428c 07/23/2011 07:20 pm Markus Armbruster

usb-ccid: Drop unused CCIDCardInfo callback print()

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

021a1318 07/23/2011 07:20 pm Markus Armbruster

virtio-serial: Clean up virtser_bus_dev_print() output

Old version looks like this in info qtree (last four lines):

dev: virtconsole, id "" 
dev-prop: is_console = 1
dev-prop: nr = 0
dev-prop: chardev = &lt;null&gt;...
0fe28e0d 07/23/2011 07:19 pm Richard Henderson

vga: Fix type of lfb/map_addr/end.

These addresses have been passed through pci_to_cpu_addr,
and thus need to be full target_phys_addr_t.

Acked-by: Jan Kiszka <>
Signed-off-by: Richard Henderson <>
Cc: Jan Kiszka <>...

6e1db57b 07/23/2011 07:18 pm Kevin Wolf

qemu-char: Print strerror message on failure

The only way for chardev drivers to communicate an error was to return a NULL
pointer, which resulted in an error message that said that something went
wrong, but not why.

This patch changes the interface to return 0/-errno and updates...

6141dbfe 07/23/2011 06:56 pm Paolo Bonzini

report serial devices created with -device in the PIIX4 config space

Serial and parallel devices created with -device are not reported in
the PIIX4 configuration space, and are hence not picked up by the DSDT.
This upsets Windows, which hides them altogether from the guest....

49e40b66 07/23/2011 06:56 pm Adam Lackorzynski

multiboot: Support commas in module parameters

Support commas in the parameter list of multiboot modules as well as for the
kernel command line, by using double commas (via get_opt_value()).

Signed-off-by: Adam Lackorzynski <>
Reviewed-by: Kevin Wolf <>...

6eed1856 07/23/2011 06:19 pm Jan Kiszka

net: Consistently use qemu_macaddr_default_if_unset

Drop the open-coded MAC assignment from net_init_nic and replace it with
standard qemu_macaddr_default_if_unset which is also used by qdev. That
avoid creating colliding MACs when instantiating NICs via different...

e07fc405 07/22/2011 05:24 pm Anthony Liguori

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

cfe7bb19 07/22/2011 05:23 pm Anthony Liguori

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

bf1cd9b4 07/22/2011 05:23 pm Anthony Liguori

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

e7e73892 07/22/2011 02:36 pm Gerd Hoffmann

usb-hid: fixup changed tracking.

Remove leftover calls to usb_hid_changed().

Take care to update the changed flag after delivering a event via
GET_REPORT like we do when sending events via interrupt endpoint.

Signed-off-by: Gerd Hoffmann <>

0070f095 07/22/2011 02:36 pm Gerd Hoffmann

usb-uhci: fix irq handling on error.

Spec on UHCI_STS_USBERR: "If the TD on which the error interrupt
occurred also had its IOC bit set, both this bit and Bit 0 are set."

Make UHCI emulation do that.

Signed-off-by: Gerd Hoffmann <>

cd3e2409 07/20/2011 11:54 pm Hervé Poussineau

ds1225y: convert to qdev device, and use it in MIPS Jazz emulation

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

d43ed9ec 07/20/2011 11:54 pm Hervé Poussineau

ds1225y: use trace framework

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

86f25c7c 07/20/2011 11:54 pm Hervé Poussineau

ds1225y: Remove protection stuff, which doesn't belong to this device

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Blue Swirl <>

8927cfbb 07/20/2011 11:08 am Yonit Halperin

qxl: upon reset, if spice worker is stopped, the command rings can be not empty

Spice worker does no longer process commands when it is stopped.
Otherwise, it might crash during migration when attempting to process
commands while the guest is not completely loaded....

653c1c3f 07/19/2011 04:39 pm Hannes Reinecke

scsi-disk: Fixup debugging statement

A debugging statement wasn't converted to the new interface.

Signed-off-by: Hannes Reinecke <>
Acked-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

3e1c0c9a 07/19/2011 04:39 pm Hannes Reinecke

scsi-disk: Mask out serial number EVPD

If the serial number is not set we should mask it out in the
list of supported VPD pages and mark it as not supported.

Signed-off-by: Hannes Reinecke <>
Acked-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

c5bf71a9 07/19/2011 04:38 pm Hannes Reinecke

scsi: Add 'hba_private' to SCSIRequest

'tag' is just an abstraction to identify the command
from the driver. So we should make that explicit by
replacing 'tag' with a driver-defined pointer 'hba_private'.
This saves the lookup for driver handling several commands...

03ff0958 07/19/2011 04:04 pm Anthony Liguori

Merge remote-tracking branch 'agraf/xen-next' into staging

b4dabf95 07/19/2011 04:03 pm Anthony Liguori

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

de20fbca 07/19/2011 04:02 pm Anthony Liguori

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

67345294 07/19/2011 03:43 pm Anthony Liguori

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

348e7b8d 07/18/2011 05:06 pm Hannes Reinecke

iov: Update parameter usage in iov_(to|from)_buf()

iov_to_buf() has an 'offset' parameter, iov_from_buf() hasn't.
This patch adds the missing parameter to iov_from_buf().
It also renames the 'offset' parameter to 'iov_off' to
emphasize it's the offset into the iovec and not the buffer....

95c9cde2 07/18/2011 01:00 pm Amit Shah

virtio-serial-bus: Fix trailing \n in error_report string

Markus fixed offenders in the file but one instance sneaked in via
another patch. Fix it.

Signed-off-by: Amit Shah <>

0219d732 07/18/2011 01:00 pm Amit Shah

virtio-console: Prevent abort()s in case of host chardev close

A host chardev could close just before the guest sends some data to be
written. This will cause an -EPIPE error. This shouldn't be propagated
to virtio-serial-bus.

Ideally we should close the port once -EPIPE is received, but since the...

49e3fdd7 07/18/2011 01:00 pm Amit Shah

virtio-serial-bus: Add trace events

Add some trace events for messages passed between the guest and host.

Signed-off-by: Amit Shah <>

d02e4fa4 07/18/2011 01:00 pm Amit Shah

virtio-console: Add some trace events

Add some trace events for messages passed between the char layer and the
virtio-serial bus.

Signed-off-by: Amit Shah <>

33d5ad53 07/17/2011 06:47 pm Michael S. Tsirkin

pci_ids: tweak names to match linux/pci_ids.h

Sync xen names to ones used by linux. Add
xen platform device id as well.

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

ce4fd422 07/17/2011 06:47 pm Anthony PERARD

hw/piix_pci.c: Fix PIIX3-xen to initialize ids

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

0d2b962d 07/17/2011 06:47 pm Michael S. Tsirkin

xen: move to new pci initializers

move ids to pci info structure

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

c8eac1cf 07/17/2011 06:47 pm Michael S. Tsirkin

virtio: fix indirect descriptor buffer overflow

We were previously allowing arbitrarily-long indirect descriptors, which
could lead to a buffer overflow in qemu-kvm process.

CVE-2011-2212

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

c1be973a 07/17/2011 06:47 pm Michael S. Tsirkin

vhost: fix double free on device stop

vhost dev stop failed to clear the log field.
Typically not an issue as dev start overwrites this field,
but if logging gets disabled before the following start,
it doesn't so this causes a double free.

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

5e6b701a 07/17/2011 02:54 am Stefano Stabellini

xen_console: fix memory leak

con_init leaks the string "type", fix it.

Signed-off-by: Stefano Stabellini <>
Signed-off-by: Alexander Graf <>

37cdfcf1 07/17/2011 02:54 am Stefano Stabellini

xen: add vkbd support for PV on HVM guests

Register the vkbd backend even when running as device emulator for HVM
guests: it is useful because it doesn't need a frequent timer like usb.

Check whether the XenInput DisplayState has been set in the initialise...

5ea3c2b4 07/17/2011 02:54 am Stefano Stabellini

xen_disk: cope with missing xenstore "params" node

When disk is a cdrom and the drive is empty the "params" node in
xenstore might be missing completely: cope with it instead of
segfaulting.

Updated in v2:

- actually removed the strchr(blkdev->params, ':') that caused the...

7cef3f4f 07/17/2011 02:54 am Stefano Stabellini

xen_disk: treat "aio" as "raw"

Sometimes the toolstack uses "aio" without an additional format
identifier, in such cases use "raw".

Updated in v2:

- fix code style.

Signed-off-by: Stefano Stabellini <>
Signed-off-by: Alexander Graf <>

0f51726a 07/17/2011 02:54 am Stefano Stabellini

xen_console: support the new extended xenstore protocol

Since CS 21994 on xen-unstable.hg and CS
466608f3a32e1f9808acdf832a5843af37e5fcec on qemu-xen-unstable.git, few
changes have been introduced to the PV console xenstore protocol, as
described by the document docs/misc/console.txt under xen-unstable.hg....

25a11813 07/17/2011 02:54 am Alexander Graf

xen_console: fall back to qemu serial device

The new xen_console protocol changed the default xen_console output device
from whatever Qemu chose to whatever xenstore choses and "pty" as fallback.

This is not how Qemu works. It has its own serial redirection semantics. So...

868bb33f 07/17/2011 02:54 am Jan Kiszka

xen: Fold CONFIG_XEN_MAPCACHE into CONFIG_XEN

Xen won't be enabled if there is no backend support available for the
host. And that also means the map cache will work. So drop the separate
config switch and move the required stubs over to xen-stub.c.

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

429bef69 07/13/2011 12:29 am Hervé Poussineau

esp: cancel current request only if some request is in flight

This bug was introduced in 94d3f98a3f3caddd7875f9a11776daeb84962a7b:
scsi_cancel_io was checking if some request was pending before trying
to cancel it, while scsi_req_cancel always cancels the request....

06c46bba 07/12/2011 11:00 pm Alexander Graf

spapr: use specific endian ld/st_phys

Signed-off-by: Alexander Graf <>
Signed-off-by: Blue Swirl <>

04bc74ed 07/12/2011 11:00 pm Alexander Graf

s390-virtio: use specific endian ld/st_phys

Signed-off-by: Alexander Graf <>
Signed-off-by: Blue Swirl <>

db663d0f 07/12/2011 11:00 pm Alexander Graf

ppc405_uc: use specific endian ld/st_phys

Signed-off-by: Alexander Graf <>
Signed-off-by: Blue Swirl <>

75b0646f 07/12/2011 11:00 pm Alexander Graf

pl080: use specific endian ld/st_phys

Signed-off-by: Alexander Graf <>
Signed-off-by: Blue Swirl <>

ae5d3eb4 07/12/2011 11:00 pm Alexander Graf

msix: use specific endian ld/st_phys

Signed-off-by: Alexander Graf <>
Signed-off-by: Blue Swirl <>

c5d29d2f 07/12/2011 11:00 pm Alexander Graf

msi: use specific endian ld/st_phys

Signed-off-by: Alexander Graf <>
Signed-off-by: Blue Swirl <>

6c7796e5 07/12/2011 11:00 pm Alexander Graf

intel-hda: use specific endian ld/st_phys

Signed-off-by: Alexander Graf <>
Signed-off-by: Blue Swirl <>

8517263f 07/12/2011 11:00 pm Alexander Graf

hpet: use specific endian ld/st_phys

Signed-off-by: Alexander Graf <>
Signed-off-by: Blue Swirl <>

eb3b58f9 07/08/2011 12:26 pm Jes Sorensen

usb_register_port(): do not set port->opaque and port->index twice

Signed-off-by: Jes Sorensen <>
Signed-off-by: Gerd Hoffmann <>

dd850cf2 07/08/2011 12:26 pm Gerd Hoffmann

usb: fixup bluetooth descriptors

Commit 4696425cd05c7baa0a4b469d43ba4b8488bcfc0f changes some
endpoints from isocrounous to interrupt by mistake. Fix it.

Signed-off-by: Gerd Hoffmann <>

6c238527 07/08/2011 12:26 pm Gerd Hoffmann

usb-hub: remove unused descriptor arrays

Somehow they where left over when converting the hub
to the new usb descriptor infrastructure ...

Signed-off-by: Gerd Hoffmann <>

3dc345d5 07/08/2011 12:26 pm Gerd Hoffmann

usb-ohci: raise interrupt on attach

Got lost in commit 618c169b577db64ac6589ad48825d2e11760d1a6,
add it back in. Also fix codestyle while we are at it.

Signed-off-by: Gerd Hoffmann <>

3631e6c8 07/05/2011 04:09 pm Hans de Goede

usb: Move (initial) call of usb_port_location to usb_fill_port

Cleanup / preparation patch for companion controller support. Note that
as a "side-effect" this patch also fixes the milkymist-softusb controller
not having a port_location set for its ports....

ae60fea9 07/05/2011 04:09 pm Hans de Goede

usb: Add a register_companion USB bus op.

This is a preparation patch for adding support for USB companion controllers.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

d47e59b8 07/05/2011 04:09 pm Hans de Goede

usb: Make port wakeup and complete ops take a USBPort instead of a Device

This makes them consistent with the attach and detach ops, and in general
it makes sense to make portops take a port as argument. This also makes
adding support for a companion controller easier / cleaner....

4706ab6c 07/05/2011 04:09 pm Hans de Goede

usb: Replace device_destroy bus op with a child_detach port op

Note this fixes 2 things in one go, first of all the device_destroy bus
op should be a device_detach bus op, as pending async packets from the
device should be cancelled on detach not on destroy....

053f9fcf 07/05/2011 04:09 pm Hans de Goede

usb-ehci: drop unused num-ports state member

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

c44fd61c 07/05/2011 04:09 pm Hans de Goede

usb-ehci: Connect Status bit is read only, don't allow changing it by the guest

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

fbf9db64 07/05/2011 04:09 pm Hans de Goede

usb-ehci: cleanup port reset handling

Doing a usb_attach when dev is NULL will just result in the
port detach op getting called even though nothing was connected in
the first place.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

45b9fd34 07/05/2011 04:09 pm Hans de Goede

usb: assert on calling usb_attach(port, NULL) on a port without a dev

with the "usb-ehci: cleanup port reset handling" patch in place no callers
are calling usb_attach(port, NULL) for a port where port->dev is NULL.

Doing that makes no sense as that causes the port detach op to get called...

fbd97532 07/05/2011 04:09 pm Hans de Goede

usb-ehci: Fix handling of PED and PEDC port status bits

The PED bit should only be set for highspeed devices and the PEDC bit
should not be set on "normal" PED bit changes, only on io errors.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

a0a3167a 07/05/2011 04:09 pm Hans de Goede

usb-ehci: Add support for registering companion controllers

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

35e4977f 07/05/2011 04:09 pm Hans de Goede

usb-uhci: Add support for being a companion controller

To use as a companion controller set the masterbus property.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

9c9fc334 07/05/2011 04:09 pm Hans de Goede

usb-ohci: Add support for being a companion controller

To use as a companion controller, use pci-ohci as device and set the
masterbus and num-ports properties, ie:

-device usb-ehci,addr=0b.1,multifunction=on,id=ehci0
-device pci-ohci,addr=0b.0,multifunction=on,masterbus=ehci0.0,num-ports=4...

f9ebf5e5 07/05/2011 04:09 pm Gerd Hoffmann

pci: add ich9 usb controller ids

Signed-off-by: Gerd Hoffmann <>

1b5a7570 07/05/2011 04:09 pm Gerd Hoffmann

uhci: add ich9 controllers

Add ich9 controllers, Factor out properties to a separate
struct and reference it to reduce duplication.

Signed-off-by: Gerd Hoffmann <>

5cc194ca 07/05/2011 04:09 pm Gerd Hoffmann

ehci: fix port count.

The ICH4 EHCI controller which we emulate has six ports not four.

Signed-off-by: Gerd Hoffmann <>

3028376e 07/05/2011 04:09 pm Gerd Hoffmann

ehci: add ich9 controller.

Signed-off-by: Gerd Hoffmann <>

000eb4fa 07/05/2011 04:09 pm Peter Maydell

hw/usb-musb.c: Don't misuse usb_packet_complete()

In musb_packet() handle final processing of non-asynchronous
USB packets by directly calling musb_schedule_cb() rather than
going through usb_packet_complete(). The latter will trigger
an assertion because the packet doesn't belong to a device....

090ac642 07/05/2011 04:09 pm Hans de Goede

usb: Add a usb_fill_port helper function

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

c925400b 07/05/2011 12:23 pm Kevin Wolf

ide: Initialise buffers with zeros

Just in case there's still a way how a guest can read out buffers when it's not
supposed to, let's zero the buffers during initialisation so that we don't leak
information to the guest.

Signed-off-by: Kevin Wolf <>...

40c4ed3f 07/05/2011 12:23 pm Kevin Wolf

ide: Ignore reads during PIO in and writes during PIO out

This fixes https://bugs.launchpad.net/qemu/+bug/786209:

When the DRQ_STAT bit is set, the IDE core permits both data reads
and data writes, regardless of whether the current transfer was
initiated as a read or write....
a8686a9b 07/05/2011 12:23 pm Markus Armbruster

virtio-blk: Turn drive serial into a qdev property

It needs to be a qdev property, because it belongs to the drive's
guest part. Precedence: commit a0fef654 and 6ced55a5.

Bonus: info qtree now shows the serial number.

Signed-off-by: Markus Armbruster <>...

9312805d 07/04/2011 11:12 pm Vasily Khoruzhick

pxa2xx_lcd: add proper rotation support

Until now, pxa2xx_lcd only supported 90deg rotation, but
some machines (for example Zipit Z2) needs 270deg rotation.

Signed-off-by: Vasily Khoruzhick <>
Signed-off-by: Andrzej Zaborowski <>

462a8bc6 07/04/2011 10:58 pm Stefan Weil

arm: Add const attribute to some arm_boot_info pointers

Parameter 'info' is const, so add the missing attribute.

v2:
Add 'const' to the local variable info in do_cpu_reset() and to
the boot_info field in CPUARMState (suggested by Peter Maydell).

Cc: Andrzej Zaborowski <>...

638f4e47 07/04/2011 04:35 pm Gerd Hoffmann

qxl: device id fixup

Move device ID to PCIDeviceInfo.
Remove support for the unused unstable device ID.

Signed-off-by: Gerd Hoffmann <>

5b77870c 07/04/2011 04:35 pm Alon Levy

qxl: interface_get_command: fix reported mode

report correct mode when in undefined mode.
introduces qxl_mode_to_string(), and uses it in other places too.

Signed-off-by: Gerd Hoffmann <>

1f0ff2fb 07/04/2011 04:35 pm Alon Levy

qxl-logger: add timestamp to command log

Signed-off-by: Gerd Hoffmann <>

6ebebb55 07/04/2011 04:35 pm Alon Levy

qxl: add dev id to guest prints

Signed-off-by: Gerd Hoffmann <>

868379ce 07/04/2011 04:35 pm Yonit Halperin

qxl: make sure primary surface is saved on migration

Signed-off-by: Gerd Hoffmann <>

81144d1a 07/04/2011 04:35 pm Gerd Hoffmann

qxl: put QXL_IO_UPDATE_IRQ into vgamode whitelist

Signed-off-by: Gerd Hoffmann <>

a3d14054 07/04/2011 04:35 pm Alon Levy

qxl: allow QXL_IO_LOG also in vga

The driver may change us to vga mode and still issue a QXL_IO_LOG,
which we can easily support.

Signed-off-by: Gerd Hoffmann <>

75ef8496 07/02/2011 09:50 pm Hervé Poussineau

esp: correctly fill bus id with requested lun

This bug showed up after 1455084ea2c48abf23c4e4e15e378ee43457f381, and
may be seen only on operating systems not using DMA to give commands
to SCSI adapter.

Signed-off-by: Hervé Poussineau <>...

3b886706 07/02/2011 12:12 am Blue Swirl

Merge branch 'ppc-next' of git://repo.or.cz/qemu/agraf

  • 'ppc-next' of git://repo.or.cz/qemu/agraf:
    PPC: move TLBs to their own arrays
    PPC: 440: Use 440 style MMU as default, so Qemu knows the MMU type
    PPC: E500: Use MAS registers instead of internal TLB representation...
20be39de 06/30/2011 11:52 am Edgar E. Iglesias

etraxfs-ser: Correct default value for RW_REC_CTRL

Signed-off-by: Edgar E. Iglesias <>

656acddb 06/27/2011 10:59 pm Anthony Liguori

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

c45d1fc1 06/27/2011 07:27 pm Anthony Liguori

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

bb820c03 06/27/2011 07:25 pm Anthony Liguori

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

d2e4d08b 06/27/2011 12:34 pm Luiz Capitulino

virtio-serial: Fix segfault on guest boot

If I start qemu with:

  1. qemu -hda disks/test.img -enable-kvm -m 1G -snapshot \
    -device virtio-serial \
    -chardev socket,host=localhost,port=1234,server,nowait,id=foo \
    -device virtserialport,chardev=foo,name=org.qemu.guest_agent...
2b41f10e 06/26/2011 09:25 pm Blue Swirl

Remove exec-all.h include directives

Most exec-all.h include directives are now useless, remove them.

Signed-off-by: Blue Swirl <>

af2be207 06/26/2011 08:35 pm Jan Kiszka

Fix fallouts from Linux header inclusion

This is an all-in-one fix for the smaller and bigger mistakes of the
build system changes for accompanied Linux headers:
- only enable KVM and vhost on Linux hosts
- fix powerpc asm header symlink
- do not use Linux headers on non-Linux hosts...

dd3d6775 06/24/2011 11:13 am Markus Armbruster

Spell "unkown" correctly in error_report() arguments

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

2167f7bc 06/24/2011 11:13 am Matthew Fernandez

Fix comment typos in hw/armv7m.c

Fix a couple of typos in comments.

Signed-off-by: Matthew Fernandez <>
Acked-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

6daf194d 06/24/2011 11:13 am Markus Armbruster

Strip trailing '\n' from error_report()'s first argument

error_report() prepends location, and appends a newline. The message
constructed from the arguments should not contain a newline. Fix the
obvious offenders.

Signed-off-by: Markus Armbruster <>...

a7fb71d1 06/23/2011 06:15 pm Gerd Hoffmann

usb: ignore USB_DT_DEBUG

Signed-off-by: Gerd Hoffmann <>

c3a90cb1 06/23/2011 06:09 pm Markus Armbruster

usb-storage: Turn drive serial into a qdev property usb-storage.serial

It needs to be a qdev property, because it belongs to the drive's
guest part. Precedence: commit a0fef654 and 6ced55a5.

Bonus: info qtree now shows the serial number.

Signed-off-by: Markus Armbruster <>...

f3dc0051 06/23/2011 12:28 pm Peter Maydell

hw/usb-ohci.c: Fix handling of remote wakeup corner cases

Correct a number of minor errors in the OHCI wakeup implementation: * when the port is suspended but the controller is not, raise RHSC * when the controller is suspended but the port is not, raise RD...