]> git.proxmox.com Git - qemu.git/blobdiff - hw/usb/host-bsd.c
monitor: move include files to include/monitor/
[qemu.git] / hw / usb / host-bsd.c
index 6473e8b74780c213dbfb5804da68607866b89262..340c21aeb493c52c6500f555868b3e568d7fe052 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 #include "qemu-common.h"
-#include "monitor.h"
+#include "monitor/monitor.h"
 #include "hw/usb.h"
 
 /* usb.h declares these */
@@ -292,6 +292,7 @@ static void usb_host_handle_destroy(USBDevice *opaque)
 
 static int usb_host_initfn(USBDevice *dev)
 {
+    dev->flags |= (1 << USB_DEV_FLAG_IS_HOST);
     return 0;
 }