]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: Store data file name in the image
authorKevin Wolf <kwolf@redhat.com>
Tue, 15 Jan 2019 18:02:40 +0000 (19:02 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 8 Mar 2019 11:26:46 +0000 (12:26 +0100)
commit9b890bdcb6ec11868da92c1daeb51c69d9483da8
treee7fb121b3926df08996f7bb4c437ae6abf7f1a03
parentdcc98687f82b8a8d58d0eb7bc15c95d28f35708f
qcow2: Store data file name in the image

Rather than requiring that the external data file node is passed
explicitly when creating the qcow2 node, store the filename in the
designated header extension during .bdrv_create and read it from there
as a default during .bdrv_open.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c
block/qcow2.h
qapi/block-core.json
tests/qemu-iotests/082.out