]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/usb.h
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
[mirror_qemu.git] / hw / usb.h
index f05eb1797fd21841a1c6a91dfd443bdfa083ab59..efae65dcad064b188eea498b6afce95e45b86eba 100644 (file)
--- a/hw/usb.h
+++ b/hw/usb.h
@@ -197,6 +197,7 @@ struct USBEndpoint {
 
 enum USBDeviceFlags {
     USB_DEV_FLAG_FULL_PATH,
+    USB_DEV_FLAG_IS_HOST,
 };
 
 /* definition of a USB device */
@@ -229,6 +230,7 @@ struct USBDevice {
     USBEndpoint ep_out[USB_MAX_ENDPOINTS];
 
     QLIST_HEAD(, USBDescString) strings;
+    const USBDesc *usb_desc; /* Overrides class usb_desc if not NULL */
     const USBDescDevice *device;
 
     int configuration;