[libvirt] [PATCH 2/9] qemu: domain: Move out clearing of backing chain in qemuDomainDetermineDiskChain

Ján Tomko jtomko at redhat.com
Fri Jul 20 12:23:57 UTC 2018


On Wed, Jul 18, 2018 at 05:22:03PM +0200, Peter Krempa wrote:
>In some cases backing chain needs to be cleared prior to re-detection.
>Move this step out of qemuDomainDetermineDiskChain as only certain
>places need it and the function itself is able to skip to the end of the
>chain to perform detection.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_blockjob.c | 4 ++--
> src/qemu/qemu_domain.c   | 4 ----
> src/qemu/qemu_domain.h   | 1 -
> src/qemu/qemu_driver.c   | 4 ++--
> src/qemu/qemu_hotplug.c  | 2 +-
> src/qemu/qemu_process.c  | 7 +++++--
> 6 files changed, 10 insertions(+), 12 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- 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/20180720/be6caf35/attachment-0001.sig>


More information about the libvir-list mailing list