]> git.ipfire.org Git - thirdparty/libvirt.git/commit
list: provide RPC call for snapshots
authorEric Blake <eblake@redhat.com>
Sun, 10 Jun 2012 03:24:57 +0000 (21:24 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 19 Jun 2012 19:50:03 +0000 (13:50 -0600)
commitdbb564f862bc2fca63a63acdc794727340b9d046
tree767d7b8557d8a675c1d0f27cfe8bdc99f996536b
parentf73d99c2a5bf7bf54c67294ad40eca3c79327665
list: provide RPC call for snapshots

The generator doesn't handle lists of virDomainSnapshotPtr, so
this commit requires a bit more work than some RPC additions.

* src/remote/remote_protocol.x
(REMOTE_PROC_DOMAIN_LIST_ALL_SNAPSHOTS)
(REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_ALL_CHILDREN): New RPC calls,
with corresponding structs.
* daemon/remote.c (remoteDispatchDomainListAllSnapshots)
(remoteDispatchDomainSnapshotListAllChildren): New functions.
* src/remote/remote_driver.c (remoteDomainListAllSnapshots)
(remoteDomainSnapshotListAllChildren): Likewise.
* src/remote_protocol-structs: Regenerate.
daemon/remote.c
src/remote/remote_driver.c
src/remote/remote_protocol.x
src/remote_protocol-structs