From c5f6e493bb5339d244eae5d3f21c5b6d73996739 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Tue, 25 Nov 2014 18:12:42 +0100 Subject: 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 Reviewed-by: Max Reitz Message-id: 1416935562-7760-4-git-send-email-kwolf@redhat.com Signed-off-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf --- tests/qemu-iotests/group | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/qemu-iotests/group') diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group index af58a68..2ba10ad 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 -- cgit v1.1