]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: identify qemu snapshot roots
authorEric Blake <eblake@redhat.com>
Sat, 13 Aug 2011 17:18:44 +0000 (11:18 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 2 Sep 2011 23:35:02 +0000 (17:35 -0600)
commit6b3801b04263c4c0303fb340f5e6d89e40def900
tree0a9e3866f810a3b685dfb3a8f1be3233b3304c4e
parent22a833e789e999736ec59fc468ab27daeb66940c
snapshot: identify qemu snapshot roots

Filtering for roots is pretty easy to do.

* src/conf/domain_conf.h (virDomainSnapshotObjListGetNames)
(virDomainSnapshotObjListNum): Update prototype.
* src/conf/domain_conf.c (virDomainSnapshotObjListCopyNames)
(virDomainSnapshotObjListGetNames, virDomainSnapshotObjListCount)
(virDomainSnapshotObjListNum): Support filtering.
* src/qemu/qemu_driver.c (qemuDomainSnapshotNum)
(qemuDomainSnapshotListNames): Update callers.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_driver.c