summaryrefslogtreecommitdiff
path: root/tests/nvme-test.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-11-20 16:27:09 +0100
committerKevin Wolf <kwolf@redhat.com>2014-12-10 10:31:12 +0100
commitb8e665e4d8c6aece216e373da062ee60c82e0b6f (patch)
tree048eab9b1b86648cd56ec5e43127418ef46d4253 /tests/nvme-test.c
parent90c9b1671e79a978b918ed4f93f9aa0d2d2bb72f (diff)
downloadqemu-b8e665e4d8c6aece216e373da062ee60c82e0b6f.tar.gz
qemu-b8e665e4d8c6aece216e373da062ee60c82e0b6f.tar.bz2
qemu-b8e665e4d8c6aece216e373da062ee60c82e0b6f.zip
qtests: Specify image format explicitly
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 1416497234-29880-5-git-send-email-kwolf@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@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 85768e837b..ff38b5e48f 100644
--- a/tests/nvme-test.c
+++ b/tests/nvme-test.c
@@ -24,7 +24,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=/dev/null,format=raw "
"-device nvme,drive=drv0,serial=foo");
ret = g_test_run();