Re: [PATCH] virsh: add snapshot-parent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/11/2011 12:23 AM, Daniel Veillard wrote:
On Wed, Aug 10, 2011 at 10:09:56PM -0600, Eric Blake wrote:
Down the road, I want to add virDomainSnapshotGetParent, and use
the new API rather than xml scraping; but this virsh command can
be implemented even without the new API.

* tools/virsh.c (cmdSnapshotParent): New command.
* tools/virsh.pod (snapshot-parent): Document it.
---

Adding this will make it a bit easier to track relationships between
snapshots, especially since 'virsh snapshot-list' covers everything
except the relationship.


+=item B<snapshot-parent>  I<domain>  I<snapshot>
+
+Output the name of the parent snapshot for the given I<snapshot>, if any.
+
  =item B<snapshot-revert>  I<domain>  I<snapshot>

  Revert the given domain to the snapshot specified by I<snapshot>.  Be aware
--
1.7.4.4

   ACK,

Thanks; pushed.

--
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]