Re: [libvirt] [PATCH 1/5] snapshot: define new API virDomainSnapshotDeleteByName

2013-06-27 Thread Guannan Ren
On 06/21/2013 05:55 PM, Ján Tomko wrote: On 06/13/2013 02:55 PM, Guannan Ren wrote: This is to delete a snapshot object atomically, the API accepts argments: domain object, snapshot name and flags. Add a new flag VIR_DOMAIN_SNAPSHOT_DELETE_CURRENT, others are same. include/libvirt/libvirt.h.in:

Re: [libvirt] [PATCH 1/5] snapshot: define new API virDomainSnapshotDeleteByName

2013-06-21 Thread Ján Tomko
On 06/13/2013 02:55 PM, Guannan Ren wrote: > This is to delete a snapshot object atomically, the API accepts > argments: domain object, snapshot name and flags. > Add a new flag VIR_DOMAIN_SNAPSHOT_DELETE_CURRENT, others are same. > > include/libvirt/libvirt.h.in: Declare virDomainSnapshotDeleteBy

[libvirt] [PATCH 1/5] snapshot: define new API virDomainSnapshotDeleteByName

2013-06-13 Thread Guannan Ren
This is to delete a snapshot object atomically, the API accepts argments: domain object, snapshot name and flags. Add a new flag VIR_DOMAIN_SNAPSHOT_DELETE_CURRENT, others are same. include/libvirt/libvirt.h.in: Declare virDomainSnapshotDeleteByName Add VIR_DOMAIN_SNA