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:
Kevin Wolf 2018-07-13 09:05:39 +02:00
parent 55b1f14cef
commit 4e04f3d91a
2 changed files with 173 additions and 173 deletions

View File

@ -259,7 +259,7 @@ def qemu_io_image_args(config, dev=False):
if dev: if dev:
return [ return [
"--image-opts", "--image-opts",
"driver=file,filename=%s" % config.device_path()] "driver=host_device,filename=%s" % config.device_path()]
else: else:
return [ return [
"--object", "--object",

File diff suppressed because it is too large Load Diff