]> xenbits.xensource.com Git - libvirt.git/commit
conf: Parse and format 'backingStore' for disk <mirror>
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Mar 2019 15:08:13 +0000 (16:08 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Apr 2019 09:58:09 +0000 (11:58 +0200)
commit4e797f1af98a3d137ce4d47d7cc33cf0e09eeee3
tree76a0a1fd58a045cc1ffe483d5fd79be8f7a034d0
parent944d09fa3e479c69f3cb3ca16724472bbeb916fc
conf: Parse and format 'backingStore' for disk <mirror>

When the block copy operation is started with a reused external file in
incremental mode libvirt will need to open and insert the backing chain
for that file into qemu (in -blockdev mode). This means that we'll need
to track the backing chain and metadata such as node names for the full
chain of <mirror>.

This patch invokes the full backing chain formatter and parser for
<mirror> so that the chain can be kept with <mirror>.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
tests/qemustatusxml2xmldata/blockjob-mirror-in.xml
tests/qemuxml2argvdata/disk-mirror.xml
tests/qemuxml2xmloutdata/disk-mirror-active.xml