]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/libqos/usb.h
qapi: add condition to variants documentation
[mirror_qemu.git] / tests / libqos / usb.h
index 8fe56872b7a5f27059eb42419566b2c3f2c4c045..c506418a13968be5d9914e7a24eb2256bf276b01 100644 (file)
@@ -5,13 +5,14 @@
 
 struct qhc {
     QPCIDevice *dev;
-    void *base;
+    QPCIBar bar;
 };
 
 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 uhci_deinit(struct qhc *hc);
 
-void usb_test_hotplug(const char *bus_name, const int port,
+void usb_test_hotplug(const char *bus_name, const char *port,
                       void (*port_check)(void));
 #endif