aboutsummaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2017-10-12 16:14:10 +0200
committerKevin Wolf <kwolf@redhat.com>2017-10-26 14:45:57 +0200
commit6bff597bf6580ecc691258e849f652911dbdda7c (patch)
treefb57fc5dd105c05aced9d0f54a71558c5c769a62 /.mailmap
parentae49fbbcd8e4e9d8bf7131add34773f579e1aff7 (diff)
block: don't add 'driver' to options when referring to backing via node name
When referring to a backing file of an image via node name bdrv_open_backing_file would add the 'driver' option to the option list filling it with the backing format driver. This breaks construction of the backing chain via -blockdev, as bdrv_open_inherit reports an error if both 'reference' and 'options' are provided. $ qemu-img create -f raw /tmp/backing.raw 64M $ qemu-img create -f qcow2 -F raw -b /tmp/backing.raw /tmp/test.qcow2 $ qemu-system-x86_64 \ -blockdev driver=file,filename=/tmp/backing.raw,node-name=backing \ -blockdev driver=qcow2,file.driver=file,file.filename=/tmp/test.qcow2,node-name=root,backing=backing qemu-system-x86_64: -blockdev driver=qcow2,file.driver=file,file.filename=/tmp/test.qcow2,node-name=root,backing=backing: Could not open backing file: Cannot reference an existing block device with additional options or a new filename Signed-off-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions