aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/group
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-11-25 18:12:42 +0100
committerKevin Wolf <kwolf@redhat.com>2014-12-10 10:31:13 +0100
commitc5f6e493bb5339d244eae5d3f21c5b6d73996739 (patch)
tree293ef12cb27e38bb1fee122130db85e0717f1575 /tests/qemu-iotests/group
parent8884dd1bbc5ce42cd657ffcbef3a477443468974 (diff)
block: Don't probe for unknown backing file format
If a qcow2 image specifies a backing file format that doesn't correspond to any format driver that qemu knows, we shouldn't fall back to probing, but simply error out. Not looking up the backing file driver in bdrv_open_backing_file(), but just filling in the "driver" option if it isn't there moves us closer to the goal of having everything in QDict options and gets us the error handling of bdrv_open(), which correctly refuses unknown drivers. Cc: qemu-stable@nongnu.org Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 1416935562-7760-4-git-send-email-kwolf@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/group')
-rw-r--r--tests/qemu-iotests/group1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
index af58a6821b..2ba10add8a 100644
--- a/tests/qemu-iotests/group
+++ b/tests/qemu-iotests/group
@@ -113,3 +113,4 @@
108 rw auto quick
109 rw auto
111 rw auto quick
+114 rw auto quick