aboutsummaryrefslogtreecommitdiff
path: root/tests/usb-hcd-xhci-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/usb-hcd-xhci-test.c
parent7ceb4fc1147ea34a50f1846db3782a8329a4efb4 (diff)
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/usb-hcd-xhci-test.c')
-rw-r--r--tests/usb-hcd-xhci-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/usb-hcd-xhci-test.c b/tests/usb-hcd-xhci-test.c
index 22513e9eb5..031764da6d 100644
--- a/tests/usb-hcd-xhci-test.c
+++ b/tests/usb-hcd-xhci-test.c
@@ -89,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,format=raw");
+ " -drive id=drive0,if=none,file=null-co://,format=raw");
ret = g_test_run();
qtest_end();