vm.is_alive() verifies that the monitor is responsive, which is required for taking screendumps. Signed-off-by: Michael Goldish <mgoldish@xxxxxxxxxx> --- client/tests/kvm/kvm_preprocessing.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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) -- 1.5.4.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html