[libvirt] [PATCH 5/5] qemu: snapshot: Load data necessary for relative block commit to work

Pavel Hrdina phrdina at redhat.com
Tue Jun 20 11:52:13 UTC 2017


On Tue, Jun 20, 2017 at 12:56:56PM +0200, Peter Krempa wrote:
> Commit 7456c4f5f introduced a regression by not reloading the backing
> chain of a disk after snapshot. The regression was caused as
> src->relPath was not set and thus the block commit code could not
> determine the relative path.
> 
> This patch adds code that will load the backing store string if
> VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT and store it in the correct place
> when a snapshot is successfully completed.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1461303
> ---
>  src/qemu/qemu_driver.c | 19 +++++++++++++++++--
>  1 file changed, 17 insertions(+), 2 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170620/4f3d59d4/attachment-0001.sig>


More information about the libvir-list mailing list