From: Lucas Meneghel Rodrigues Subject: [PATCH] KVM test: Make sure check_image script runs on VMs turned off Date: Tue, 9 Mar 2010 08:38:02 -0300 Message-ID: <1268134682-9657-1-git-send-email-lmr@redhat.com> Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues To: autotest@test.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:19397 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754592Ab0CILiJ (ORCPT ); Tue, 9 Mar 2010 06:38:09 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/tests_base.cfg.sample | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index 340b0c0..beae786 100644 --- a/client/tests/kvm/tests_base.cfg.sample +++ b/client/tests/kvm/tests_base.cfg.sample @@ -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 -- 1.6.6.1