[libvirt] [PATCHv2 9/7] snapshot: simplify esx snapshot name lookup

Matthias Bolte matthias.bolte at googlemail.com
Wed Oct 5 07:55:05 UTC 2011


2011/10/3 Eric Blake <eblake at redhat.com>:
> No need to request the parent of a snapshot if we aren't going to use it.
>
> * src/esx/esx_vi.c (esxVI_GetSnapshotTreeByName): Make parent
> optional.
> * src/esx/esx_driver.c (esxDomainSnapshotCreateXML)
> (esxDomainSnapshotLookupByName, esxDomainRevertToSnapshot)
> (esxDomainSnapshotDelete): Simplify accordingly.
> ---
>  src/esx/esx_driver.c |   12 ++++--------
>  src/esx/esx_vi.c     |    7 ++++---
>  2 files changed, 8 insertions(+), 11 deletions(-)

ACK.

-- 
Matthias Bolte
http://photron.blogspot.com




More information about the libvir-list mailing list