mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
tests: usb: Generic usb device hotplug
use usb-tablet as a hotplugged usb device. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
fbd942c993
commit
b393768314
7 changed files with 87 additions and 9 deletions
|
@ -11,4 +11,7 @@ struct qhc {
|
|||
void qusb_pci_init_one(QPCIBus *pcibus, struct qhc *hc,
|
||||
uint32_t devfn, int bar);
|
||||
void uhci_port_test(struct qhc *hc, int port, uint16_t expect);
|
||||
|
||||
void usb_test_hotplug(const char *bus_name, const int port,
|
||||
void (*port_check)(void));
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue