summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-11-27 13:05:53 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 15:25:58 -0600
commit0745eb1e4336bf665a911754d18ddd63794b352d (patch)
tree24589140448c346f39cddd526b8ad164c4e31327 /pc-bios
parentFix description of size parameter in qemu-img's help text (diff)
downloadqemu-kvm-0745eb1e4336bf665a911754d18ddd63794b352d.tar.gz
qemu-kvm-0745eb1e4336bf665a911754d18ddd63794b352d.tar.bz2
qemu-kvm-0745eb1e4336bf665a911754d18ddd63794b352d.zip
Fix recently introduced bugs in -usbdevice host
Commit 26a9e82a has the following flaws: * It enabled DEBUG. * It referenced two properties by the wrong name in usb_host_device_open(), which crashes with "qdev_prop_set: property "USB Host Device.bus" not found". * It broke "-usbdevice host:auto:..." by calling parse_filter() incorrectly. * It broke parsing of "-usbdevice host:BUS.ADDR" and "-usbdevice host:VID:PRID" with a trivial pasto. * It broke wildcards in "-usbdevice host:auto:...". Before, the four filter components were stored as int, and the wildcard was encoded as -1. The faulty commit changed storage to uint32_t, and the wildcard encoding to 0. But it failed to update parse_filter() accordingly. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions