]> git.proxmox.com Git - qemu.git/blobdiff - vl.h
OHCI USB host emulation.
[qemu.git] / vl.h
diff --git a/vl.h b/vl.h
index bdfcfb1d8f51931bc78286290295602df41aca1b..a984065044f7570f99cbcf46e7300692a6dbb584 100644 (file)
--- a/vl.h
+++ b/vl.h
@@ -1022,10 +1022,10 @@ int cuda_init(SetIRQFunc *set_irq, void *irq_opaque, int irq);
 
 /* usb ports of the VM */
 
-#define MAX_VM_USB_PORTS 8
+void qemu_register_usb_port(USBPort *port, void *opaque, int index,
+                            usb_attachfn attach);
 
-extern USBPort *vm_usb_ports[MAX_VM_USB_PORTS];
-extern USBDevice *vm_usb_hub;
+#define VM_USB_HUB_SIZE 8
 
 void do_usb_add(const char *devname);
 void do_usb_del(const char *devname);