On 3/4/19 10:34 PM, Eric Blake wrote:
Pull out the portion of virDomainSnapshotRefinePrep() that deals
with definition sanity into a separate helper routine that can
be reused with bulk redefine, leaving behind only the code
specific to loop checking and in-place updates that are only
needed in single-definition handling.
Signed-off-by: Eric Blake <eblake(a)redhat.com>
---
src/conf/snapshot_conf.c | 186 ++++++++++++++++++++-------------------
1 file changed, 96 insertions(+), 90 deletions(-)
Reviewed-by: John Ferlan <jferlan(a)redhat.com>
John