mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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>
This commit is contained in:
parent
7ceb4fc114
commit
2420d369a2
6 changed files with 8 additions and 7 deletions
|
@ -63,7 +63,7 @@ static QOSState *pci_test_start(void)
|
|||
const char *arch = qtest_get_arch();
|
||||
char *tmp_path;
|
||||
const char *cmd = "-drive if=none,id=drive0,file=%s,format=raw "
|
||||
"-drive if=none,id=drive1,file=/dev/null,format=raw "
|
||||
"-drive if=none,id=drive1,file=null-co://,format=raw "
|
||||
"-device virtio-blk-pci,id=drv0,drive=drive0,"
|
||||
"addr=%x.%x";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue