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