Permalink
Browse files

CA-68356: xe-backup-metadata should ignore snapshots

Snapshots of VMs are handled automatically when ex/importing a VM.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  • Loading branch information...
1 parent f354a5a commit 693ba147bffae671e2e4bf9fb40ee9cefcbd9c23 @robhoes robhoes committed Oct 13, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 scripts/link-vms-by-sr.py
@@ -52,6 +52,9 @@ def main(argv):
# Ignore dom0
if vmrec['is_control_domain']:
continue
+ # Ignore snapshots
+ if vmrec['is_a_snapshot']:
+ continue
# for each VM, figure out the set of SRs it uses
for vbd in vmrec['VBDs']:

0 comments on commit 693ba14

Please sign in to comment.