Skip to contentSkip to conversation

KVM test: Make sure check_image script runs on VMs turned off

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Mar 9, 2010 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM test: Make sure check_image script runs on VMs turned off

As it is hard to guarantee that a qcow2 image will be in a consistent state with a VM turned on, take an extra safety step and make sure the preprocessor shuts down the VMs before the post process command check_image.py runs.

---
 client/tests/kvm/tests_base.cfg.sample |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
client/tests/kvm/tests_base.cfg.sample +2 -0
index 340b0c0..beae786 100644
@@ -1049,6 +1049,8 @@ variants:
         post_command = " python scripts/check_image.py;"
         remove_image = no
         post_command_timeout = 600
+        kill_vm = yes
+        kill_vm_gracefully = yes
     - vmdk:
         only Fedora Ubuntu Windows
         only smp2
Signature · 1 line
1.6.6.1