From: Lucas Meneghel Rodrigues Subject: [PATCH 2/6] KVM test: Define defaults for KVM test Date: Fri, 29 Jan 2010 04:07:28 -0200 Message-ID: <1264745252-14077-2-git-send-email-lmr@redhat.com> References: <1264745252-14077-1-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: autotest@test.kernel.org Return-path: In-Reply-To: <1264745252-14077-1-git-send-email-lmr@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org Define reasonable defaults for the kvm test, to make it easier to start using KVM autotest and encourage people to play with it. The defaults are: * qemu and qemu-kvm are expected to be found under /usr/bin. * The auxiliary directories are expected to be found under /tmp/kvm_autotest_root, since some people might want to use a nfs share to provide cds. A first time config script will be provided to assist people creating their first kvm test setup so it can be done answering a few questions and leaving the heavy lifting to the script. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/tests.cfg.sample | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/client/tests/kvm/tests.cfg.sample b/client/tests/kvm/tests.cfg.sample index c478ba2..23f50ba 100644 --- a/client/tests/kvm/tests.cfg.sample +++ b/client/tests/kvm/tests.cfg.sample @@ -6,19 +6,18 @@ include cdkeys.cfg # Modify/comment the following lines if you wish to modify # the paths of the image files, ISO files, step files or qemu binaries. -# If you keep these lines commented, all mentioned paths are expected -# to be found in the KVM test dir (tests/kvm/). -# On the example below: +# +# As for the defaults: # * qemu and qemu-img are expected to be found under /usr/bin/qemu-kvm and # /usr/bin/qemu-img respectively. # * All image files are expected under /tmp/kvm_autotest_root/images/ # * All iso files are expected under /tmp/kvm_autotest_root/isos/ # * All step files are expected under /tmp/kvm_autotest_root/steps/ -#qemu_binary = /usr/bin/qemu-kvm -#qemu_img_binary = /usr/bin/qemu-img -#image_name.* ?<= /tmp/kvm_autotest_root/ -#cdrom.* ?<= /tmp/kvm_autotest_root/ -#steps ?<= /tmp/kvm_autotest_root/ +qemu_binary = /usr/bin/qemu-kvm +qemu_img_binary = /usr/bin/qemu-img +image_name.* ?<= /tmp/kvm_autotest_root/ +cdrom.* ?<= /tmp/kvm_autotest_root/ +steps ?<= /tmp/kvm_autotest_root/ variants: - @full: -- 1.6.6