mirror of
https://github.com/qemu/qemu.git
synced 2024-12-02 08:13:34 +08:00
usb: fix serial number for hid devices
commit 7b074a22da
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 <kraxel@redhat.com>
This commit is contained in:
parent
71938a09d2
commit
93c8e4dc38
@ -622,6 +622,18 @@ static QEMUMachine pc_machine_v0_13 = {
|
|||||||
.driver = "virtio-serial-pci",\
|
.driver = "virtio-serial-pci",\
|
||||||
.property = "vectors",\
|
.property = "vectors",\
|
||||||
.value = stringify(0),\
|
.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 = {
|
static QEMUMachine pc_machine_v0_12 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user