]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: implement LIST_LEAVES flag in esx
authorEric Blake <eblake@redhat.com>
Sat, 8 Oct 2011 02:30:14 +0000 (20:30 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 17 Oct 2011 17:30:32 +0000 (11:30 -0600)
commite570d7c4d60fa4962c3f3e67ae4210dbd1e1b78d
treef22cf2b832050240ae1a286451a8103fd49e1b30
parent9f4b49cdfc5f00edfb9683bb7355814ce2057ed3
snapshot: implement LIST_LEAVES flag in esx

Relatively straight-forward filtering.

* src/esx/esx_vi.h (esxVI_GetNumberOfSnapshotTrees)
(esxVI_GetSnapshotTreeNames): Add parameter.
* src/esx/esx_vi.c (esxVI_GetNumberOfSnapshotTrees)
(esxVI_GetSnapshotTreeNames): Allow leaf filtering.
* src/esx/esx_driver.c (esxDomainSnapshotNum)
(esxDomainSnapshotListNames, esxDomainSnapshotNumChildren)
(esxDomainSnapshotListChildrenNames): Pass new flag through.
src/esx/esx_driver.c
src/esx/esx_vi.c
src/esx/esx_vi.h