]> git.proxmox.com Git - mirror_qemu.git/commit
usb: Change usb_create_simple() to abort on failure
authorMarkus Armbruster <armbru@redhat.com>
Wed, 4 Feb 2015 12:28:12 +0000 (13:28 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 18 Feb 2015 09:53:10 +0000 (10:53 +0100)
commit599655c91f3a55ac75007e851deca09010787bd7
tree26a75433cab3bea852aad00f73ec9b6b23cdb458
parentbd8b92d5c8387c2c94f06665514c05000169fafd
usb: Change usb_create_simple() to abort on failure

Instead of returning null pointer.  Matches pci_create_simple(),
isa_create_simple(), sysbus_create_simple().  It's unused since the
previous commit, but I'll put it to use again shortly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/bus.c