[libvirt] [PATCH 4/7] qemu: Use virStorageSourceIsEmpty in qemuDomainBlockCommit

Ján Tomko jtomko at redhat.com
Wed Jul 24 18:19:27 UTC 2019


On Tue, Jul 23, 2019 at 02:08:48PM +0200, Peter Krempa wrote:
>The block commit API checked 'disk->src->path' to see whether there
>is a reasonable disk source to be committed. As the top image can be
>e.g. backed by NBD the check is not good enough. Replace it by
>virStorageSourceIsEmpty.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_driver.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

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: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190724/82482b78/attachment-0001.sig>


More information about the libvir-list mailing list