]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBlockJobProcessEventCompletedPull: Add backingStore terminators if base is NULL
authorPeter Krempa <pkrempa@redhat.com>
Mon, 12 Apr 2021 15:42:23 +0000 (17:42 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 13 Apr 2021 08:58:28 +0000 (10:58 +0200)
commitb4d020790642fa4d7b8a6783b81d5d9d73cbe3d9
tree12274416cbc3fb0872f1e4ba049031b74cf130bd
parent46e748aa02cbd5923fa4b500352f528de35dc665
qemuBlockJobProcessEventCompletedPull: Add backingStore terminators if base is NULL

When doing a blockpull with NULL base the full contents of the disk are
pulled into the topmost image which then becomes fully self-contained.

qemuBlockJobProcessEventCompletedPull doesn't install the backing chain
terminators though, although it's guaranteed that there will be no
backing chain behind disk->src.

Add the terminators for completness and for disabling backing chain
detection on further boots.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_blockjob.c