]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/usb-hcd-xhci-test.c
Merge remote-tracking branch 'remotes/xtensa/tags/20170317-xtensa' into staging
[mirror_qemu.git] / tests / usb-hcd-xhci-test.c
index b1a7dec5bb3b527df894e96252bbd5ba05e1d818..22513e9eb57cfb79b690d0989d0f559bab4075b8 100644 (file)
@@ -1,16 +1,14 @@
 /*
  * QTest testcase for USB xHCI controller
  *
- * Copyright (c) 2014 HUAWEI TECHNOLOGIES CO.,LTD.
+ * Copyright (c) 2014 HUAWEI TECHNOLOGIES CO., LTD.
  *
  * This work is licensed under the terms of the GNU GPL, version 2 or later.
  * See the COPYING file in the top-level directory.
  */
 
-#include <glib.h>
-#include <string.h>
-#include "libqtest.h"
 #include "qemu/osdep.h"
+#include "libqtest.h"
 #include "libqos/usb.h"
 
 
@@ -91,7 +89,7 @@ int main(int argc, char **argv)
     qtest_add_func("/xhci/pci/hotplug/usb-uas", test_usb_uas_hotplug);
 
     qtest_start("-device nec-usb-xhci,id=xhci"
-                " -drive id=drive0,if=none,file=/dev/null");
+                " -drive id=drive0,if=none,file=/dev/null,format=raw");
     ret = g_test_run();
     qtest_end();