diff options
| author | Kevin Wolf | 2018-07-13 09:05:39 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-07-23 16:50:43 +0200 |
| commit | 4e04f3d91adf77bccf8903cb8a20ef5ddb9b2761 (patch) | |
| tree | 629475fa3bb1f927d6b2c9609bd5aa1a943142f6 /tests/qemu-iotests/149 | |
| parent | Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-3.0-pull-re... (diff) | |
| download | qemu-4e04f3d91adf77bccf8903cb8a20ef5ddb9b2761.tar.gz qemu-4e04f3d91adf77bccf8903cb8a20ef5ddb9b2761.tar.xz qemu-4e04f3d91adf77bccf8903cb8a20ef5ddb9b2761.zip | |
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>
Diffstat (limited to 'tests/qemu-iotests/149')
| -rwxr-xr-x | tests/qemu-iotests/149 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/149 b/tests/qemu-iotests/149 index d3ffa259db..9e0cad76f9 100755 --- a/tests/qemu-iotests/149 +++ b/tests/qemu-iotests/149 @@ -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", |
