mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
switch usb bus to inplace allocation.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
ca9c39faed
commit
b2317837f0
5 changed files with 12 additions and 15 deletions
2
hw/usb.h
2
hw/usb.h
|
@ -303,7 +303,7 @@ struct USBBus {
|
|||
QTAILQ_ENTRY(USBBus) next;
|
||||
};
|
||||
|
||||
USBBus *usb_bus_new(DeviceState *host);
|
||||
void usb_bus_new(USBBus *bus, DeviceState *host);
|
||||
USBBus *usb_bus_find(int busnr);
|
||||
void usb_qdev_register(USBDeviceInfo *info);
|
||||
void usb_qdev_register_many(USBDeviceInfo *info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue