]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/dev-storage.c
usb: add serial bus property
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Jun 2013 11:01:49 +0000 (13:01 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Jun 2013 06:41:07 +0000 (08:41 +0200)
commit71938a09d2b9fd4007515fec6c395916cb08f868
tree94eb7456d3f842d2dd7ee3edf191249b149b0bce
parent628e54857a82a3cb65ef96c12640c30d6307a064
usb: add serial bus property

This patch adds a serial property for all usb devices, which can be
used to set the serial number of a usb device (as listed by lsusb -v)
to a specific value.  Applies to emulated devices only.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/bus.c
hw/usb/desc.c
hw/usb/dev-hid.c
hw/usb/dev-storage.c
include/hw/usb.h