mirror of https://github.com/xemu-project/xemu.git
qemu-iotests: Use host_device instead of file in 149
The test case uses block devices with driver=file, which causes the test
to fail after commit 230ff73904
added a deprecation warning for this.
Fix the test case to use driver=host_device and update the reference
output accordingly.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
55b1f14cef
commit
4e04f3d91a
|
@ -259,7 +259,7 @@ def qemu_io_image_args(config, dev=False):
|
|||
if dev:
|
||||
return [
|
||||
"--image-opts",
|
||||
"driver=file,filename=%s" % config.device_path()]
|
||||
"driver=host_device,filename=%s" % config.device_path()]
|
||||
else:
|
||||
return [
|
||||
"--object",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue