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

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

 



2011/10/3 Eric Blake <eblake@xxxxxxxxxx>:
> 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

--
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]