X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/7c3843332db39c2f27405b882a505144d62b3664..ea580fa312674c1ba82a8b137caf42b0609ce3e3:/tests/nvme-test.c diff --git a/tests/nvme-test.c b/tests/nvme-test.c index ff38b5e48f..7674a446e4 100644 --- a/tests/nvme-test.c +++ b/tests/nvme-test.c @@ -7,10 +7,8 @@ * See the COPYING file in the top-level directory. */ -#include -#include -#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,format=raw " + qtest_start("-drive id=drv0,if=none,file=null-co://,format=raw " "-device nvme,drive=drv0,serial=foo"); ret = g_test_run();