aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-06 16:13:29 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-06 16:13:29 +0000
commita594cfbf3e1a38bc6f3908d7d0903d41e8ea9da8 (patch)
tree08a6cbb83a11db3d8c675b95cfe427dcd981ce81 /vl.h
parent8738a8d079b661a612e89612844dc270ef5f0924 (diff)
USB user interface
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1603 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index 72d4f87906..4f181c50ee 100644
--- a/vl.h
+++ b/vl.h
@@ -862,6 +862,17 @@ int cuda_init(SetIRQFunc *set_irq, void *irq_opaque, int irq);
#include "hw/usb.h"
+/* usb ports of the VM */
+
+#define MAX_VM_USB_PORTS 8
+
+extern USBPort *vm_usb_ports[MAX_VM_USB_PORTS];
+extern USBDevice *vm_usb_hub;
+
+void do_usb_add(const char *devname);
+void do_usb_del(const char *devname);
+void usb_info(void);
+
#endif /* defined(QEMU_TOOL) */
/* monitor.c */