summaryrefslogtreecommitdiff
path: root/tests/nvme-test.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-05-03 00:35:49 +0800
committerKevin Wolf <kwolf@redhat.com>2017-05-11 11:08:40 +0200
commit2420d369a2c16867ee18fd363b617aa5a66ab933 (patch)
tree58aa261a56a0e16b22fcea62c9bbf781f77fb019 /tests/nvme-test.c
parent7ceb4fc1147ea34a50f1846db3782a8329a4efb4 (diff)
downloadqemu-2420d369a2c16867ee18fd363b617aa5a66ab933.zip
tests: Use null-co:// instead of /dev/null as the dummy image
Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/nvme-test.c')
-rw-r--r--tests/nvme-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nvme-test.c b/tests/nvme-test.c
index c8bece4434..7674a446e4 100644
--- a/tests/nvme-test.c
+++ b/tests/nvme-test.c
@@ -22,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();