On 06/11/2012 12:48 AM, Osier Yang wrote:
> On 2012年05月25日 11:33, Eric Blake wrote:
>> Right now, starting from just a virDomainSnapshotPtr, and wanting to
>> know if it is the current snapshot for its respective domain, you have
>> to use virDomainSnapshotGetDomain(), then virDomainSnapshotCurrent
On 2012年05月25日 11:33, Eric Blake wrote:
Right now, starting from just a virDomainSnapshotPtr, and wanting to
know if it is the current snapshot for its respective domain, you have
to use virDomainSnapshotGetDomain(), then virDomainSnapshotCurrent(),
then compare the two names returned by virDomai
Right now, starting from just a virDomainSnapshotPtr, and wanting to
know if it is the current snapshot for its respective domain, you have
to use virDomainSnapshotGetDomain(), then virDomainSnapshotCurrent(),
then compare the two names returned by virDomainSnapshotGetName().
It is a bit easier if