summaryrefslogtreecommitdiffstats
path: root/hw/i386/acpi-build.c
diff options
context:
space:
mode:
authorThomas Huth2017-05-04 09:41:44 +0200
committerGerd Hoffmann2017-05-12 12:30:23 +0200
commitaa612b364ecbe1dc034efcabb04526f24e56c145 (patch)
tree522b850e6533d86502876389077d8992d59e6a7e /hw/i386/acpi-build.c
parentxhci: relax link check (diff)
downloadqemu-aa612b364ecbe1dc034efcabb04526f24e56c145.tar.gz
qemu-aa612b364ecbe1dc034efcabb04526f24e56c145.tar.xz
qemu-aa612b364ecbe1dc034efcabb04526f24e56c145.zip
hw/usb/dev-serial: Do not try to set vendorid or productid properties
When starting QEMU with the legacy USB serial device like this: qemu-system-x86_64 -usbdevice serial:vendorid=0x1234:stdio it currently aborts since the vendorid property does not exist anymore (it has been removed by commit f29783f72ea77dfbd7ea0c9): Unexpected error in object_property_find() at qemu/qom/object.c:1008: qemu-system-x86_64: -usbdevice serial:vendorid=0x1234:stdio: Property '.vendorid' not found Aborted (core dumped) Fix this crash by issuing a more friendly error message instead (and simplify the code also a little bit this way). Signed-off-by: Thomas Huth <thuth@redhat.com> Message-id: 1493883704-27604-1-git-send-email-thuth@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/i386/acpi-build.c')
0 files changed, 0 insertions, 0 deletions