Re: [libvirt] [PATCH v9 13/13] backup: Add virDomainCheckpointIsCurrent API

2019-07-08 Thread Peter Krempa
On Sat, Jul 06, 2019 at 22:56:13 -0500, Eric Blake wrote: > It is possible, but tedious, to tell if a checkpoint is current by > parsing XML. As this operation may be performed with some frequency, As I've pointed out that there may be multiple and only partially active checkpoints, generalizing

[libvirt] [PATCH v9 13/13] backup: Add virDomainCheckpointIsCurrent API

2019-07-06 Thread Eric Blake
It is possible, but tedious, to tell if a checkpoint is current by parsing XML. As this operation may be performed with some frequency, it is worth an additional API (comparable to the existing virDomainCheckpointGetParent that duplicates what can be learned from XML, or the counterpart