Skip to content

Commit

Permalink
export only disks which are included in checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Oct 18, 2023
1 parent 36b90fb commit d89b2ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vircpt
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ def main() -> None:
logging.error("Failed to list checkpoint: [%s]", e)

if args.command == "export":
cpt = checkpoint.exists(domObj, args.name)
diskList = virtClient.getDomainDisksFromCheckpoint(cpt.getXMLDesc())
active = False
try:
active = virtClient.blockJobActive(domObj, diskList)
Expand Down

0 comments on commit d89b2ea

Please sign in to comment.