diff mbox

[KVM-AUTOTEST] KVM test: kvm_preprocessing.py: test for vm.is_alive() instead of vm.is_dead()

Message ID 1277169855-14823-2-git-send-email-mgoldish@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Goldish June 22, 2010, 1:24 a.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/kvm_preprocessing.py b/client/tests/kvm/kvm_preprocessing.py
index 1ed4ec2..ee279bd 100644
--- a/client/tests/kvm/kvm_preprocessing.py
+++ b/client/tests/kvm/kvm_preprocessing.py
@@ -406,7 +406,7 @@  def _take_screendumps(test, params, env):
 
     while True:
         for vm in kvm_utils.env_get_all_vms(env):
-            if vm.is_dead():
+            if not vm.is_alive():
                 continue
             try:
                 vm.monitor.screendump(temp_filename)