• E
    snapshot: simplify esx snapshot name lookup · f0455833
    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 accordingly.
    f0455833
esx_driver.c 153.9 KB