]> Git Repo - qemu.git/blobdiff - tests/nvme-test.c
tests/tpm: fix tpm_util_swtpm_has_tpm2()
[qemu.git] / tests / nvme-test.c
index 85768e837b598e9de3da368b051c647f0b97a7be..7674a446e4f0e0da3d8b0834733653cb775e64ff 100644 (file)
@@ -7,10 +7,8 @@
  * 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"
 
 /* Tests only initialization so far. TODO: Replace with functional tests */
 static void nop(void)
@@ -24,7 +22,7 @@ int main(int argc, char **argv)
     g_test_init(&argc, &argv, NULL);
     qtest_add_func("/nvme/nop", nop);
 
-    qtest_start("-drive id=drv0,if=none,file=/dev/null "
+    qtest_start("-drive id=drv0,if=none,file=null-co://,format=raw "
                 "-device nvme,drive=drv0,serial=foo");
     ret = g_test_run();
 
This page took 0.023573 seconds and 4 git commands to generate.