Re: [libvirt] [PATCH 5/8] snapshot: Factor out redefine cycle validation

2019-07-08 Thread Peter Krempa
On Fri, Jul 05, 2019 at 23:37:32 -0500, Eric Blake wrote: > The code to check whether a redefined snapshot/checkpoint XML is > attempting to create a cycle in the list of moments is lengthy, and > common between the two types of list. Therefore, it belongs in the > shared base file. > >

[libvirt] [PATCH 5/8] snapshot: Factor out redefine cycle validation

2019-07-05 Thread Eric Blake
The code to check whether a redefined snapshot/checkpoint XML is attempting to create a cycle in the list of moments is lengthy, and common between the two types of list. Therefore, it belongs in the shared base file. Signed-off-by: Eric Blake --- src/conf/virdomainmomentobjlist.h | 3 +++