Skip to content

Commit

Permalink
qemu-iotests: Use host_device instead of file in 149
Browse files Browse the repository at this point in the history
The test case uses block devices with driver=file, which causes the test
to fail after commit 230ff73 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>
  • Loading branch information
kevmw committed Jul 23, 2018
1 parent 55b1f14 commit 4e04f3d
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 173 deletions.
2 changes: 1 addition & 1 deletion tests/qemu-iotests/149
Expand Up @@ -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",
Expand Down

0 comments on commit 4e04f3d

Please sign in to comment.