[PATCH 04/13] qemuSnapshotCreateInactiveExternal: Don't access 'idx' of snapshot

Ján Tomko jtomko at redhat.com
Wed Sep 23 15:29:27 UTC 2020

On a Wednesday in 2020, Peter Krempa wrote:
>After virDomainSnapshotAlignDisks is called the definitions of disks in
>the snapshot definition and in the domain definition are in the same
>order so they can be addressed using the same index.
>This frees up 'idx' to be removed later.
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> src/qemu/qemu_snapshot.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

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

-------------- 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/20200923/fb32cc55/attachment-0001.sig>

More information about the libvir-list mailing list