[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 9/9] usb: fix serial number for hid devices
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 9/9] usb: fix serial number for hid devices |
Date: |
Mon, 24 Jun 2013 08:44:43 +0200 |
commit 7b074a22dab4bdda9864b933f1bc811a3db42845 changed the serial
number of hid devices. Add compat properties to keep the old serial
number for qemu 0.12 and older.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/i386/pc_piix.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 97362f2..7972443 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -622,6 +622,18 @@ static QEMUMachine pc_machine_v0_13 = {
.driver = "virtio-serial-pci",\
.property = "vectors",\
.value = stringify(0),\
+ },{\
+ .driver = "usb-mouse",\
+ .property = "serial",\
+ .value = "1",\
+ },{\
+ .driver = "usb-tablet",\
+ .property = "serial",\
+ .value = "1",\
+ },{\
+ .driver = "usb-kbd",\
+ .property = "serial",\
+ .value = "1",\
}
static QEMUMachine pc_machine_v0_12 = {
--
1.7.9.7
- [Qemu-devel] [PULL 0/9] usb patch queue, Gerd Hoffmann, 2013/06/24
- [Qemu-devel] [PATCH 1/9] usb/hcd-ehci-sysbus: Convert to QOM realize, Gerd Hoffmann, 2013/06/24
- [Qemu-devel] [PATCH 6/9] usb/host-libusb: Fix building with libusb git master code, Gerd Hoffmann, 2013/06/24
- [Qemu-devel] [PATCH 3/9] usb/hcd-ehci: Add Tegra2 SysBus EHCI device, Gerd Hoffmann, 2013/06/24
- [Qemu-devel] [PATCH 9/9] usb: fix serial number for hid devices,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 7/9] usb-host-libusb: set USB_DEV_FLAG_IS_HOST, Gerd Hoffmann, 2013/06/24
- [Qemu-devel] [PATCH 8/9] usb: add serial bus property, Gerd Hoffmann, 2013/06/24
- [Qemu-devel] [PATCH 2/9] usb/hcd-ehci: Split off instance_init from realize, Gerd Hoffmann, 2013/06/24
- [Qemu-devel] [PATCH 5/9] usb/hcd-ehci: Add Faraday FUSBH200 support, Gerd Hoffmann, 2013/06/24
- [Qemu-devel] [PATCH 4/9] usb/hcd-ehci: Replace PORTSC macros with variables, Gerd Hoffmann, 2013/06/24