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

2011-10-05 Thread Matthias Bolte
2011/10/3 Eric Blake : > 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) > (esxD

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

2011-10-03 Thread Eric Blake
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 accor