Re: [libvirt PATCH 03/20] snapshot_conf: use alternate domain definition in virDomainSnapshotDefAssignExternalNames

2023-04-03 Thread Peter Krempa
On Mon, Mar 13, 2023 at 16:42:04 +0100, Pavel Hrdina wrote: > Commit introduced new > argument for virDomainSnapshotAlignDisks() that allows passing alternate > domain definition in case the snapshot parent.dom is NULL. > > In case of redefining snapshot it will not hit the part of code that > un

[libvirt PATCH 03/20] snapshot_conf: use alternate domain definition in virDomainSnapshotDefAssignExternalNames

2023-03-13 Thread Pavel Hrdina
Commit introduced new argument for virDomainSnapshotAlignDisks() that allows passing alternate domain definition in case the snapshot parent.dom is NULL. In case of redefining snapshot it will not hit the part of code that unconditionally uses parent.dom as there will not be need to generate defa