Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
Also allow suspend memory files
Browse files Browse the repository at this point in the history
  • Loading branch information
jgajek committed Aug 19, 2016
1 parent e9a8b31 commit 2c28415
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/machinery/vsphere.py
Expand Up @@ -330,7 +330,8 @@ def _download_snapshot(self, conn, vm, name, path):
datakey = s.dataKey

for f in vm.layoutEx.file:
if f.key == memorykey and f.type == "snapshotMemory":
if f.key == memorykey and (f.type == "snapshotMemory" or
f.type == "suspendMemory"):
filespec = f.name
break

Expand Down

0 comments on commit 2c28415

Please sign in to comment.