Skip to contentSkip to conversation

KVM test: kvm_vm: destroy VM if hugepage setup fails

PATCH New Michael Goldish 1 participant 1 message Mar 31, 2010 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM test: kvm_vm: destroy VM if hugepage setup fails

---
 client/tests/kvm/kvm_vm.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
client/tests/kvm/kvm_vm.py +1 -0
index 921414d..047505a 100755
@@ -486,6 +486,7 @@ class VM:
                               "qemu command:\n%s" % qemu_command)
                 logging.error("Output:" + kvm_utils.format_str_for_message(
                               self.process.get_output()))
+                self.destroy()
                 return False
 
             logging.debug("VM appears to be alive with PID %d",
Signature · 1 line
1.5.4.1