diff mbox

[3/7] KVM test: tests_base.cfg: Introduce parameter 'vm_type'

Message ID 1303874380-18137-4-git-send-email-lmr@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lucas Meneghel Rodrigues April 27, 2011, 3:19 a.m. UTC
In order to allow the shared infrastructure to select
the correct vm class to instantiate a VM, introduce
the parameter vm_type, which for kvm based VMs is,
not surprisingly, 'kvm'.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
 client/tests/kvm/build.cfg.sample      |    2 ++
 client/tests/kvm/tests_base.cfg.sample |    1 +
 client/tests/kvm/unittests.cfg.sample  |    1 +
 3 files changed, 4 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/client/tests/kvm/build.cfg.sample b/client/tests/kvm/build.cfg.sample
index a689ed4..a43c0e9 100644
--- a/client/tests/kvm/build.cfg.sample
+++ b/client/tests/kvm/build.cfg.sample
@@ -7,6 +7,8 @@ 
 #    KVM test dir.
 # 2) The appropriate KVM modules are already loaded on your machine.
 
+vm_type = kvm
+
 variants:
     - build:
         type = build
diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample
index 5d274f8..810a4bd 100644
--- a/client/tests/kvm/tests_base.cfg.sample
+++ b/client/tests/kvm/tests_base.cfg.sample
@@ -2,6 +2,7 @@ 
 #
 # Define the objects we'll be using
 vms = vm1
+vm_type = kvm
 images = image1
 cdroms = cd1
 nics = nic1
diff --git a/client/tests/kvm/unittests.cfg.sample b/client/tests/kvm/unittests.cfg.sample
index 3d32cb2..44f0eee 100644
--- a/client/tests/kvm/unittests.cfg.sample
+++ b/client/tests/kvm/unittests.cfg.sample
@@ -2,6 +2,7 @@ 
 #
 # Define the objects we'll be using
 vms = vm1
+vm_type = kvm
 
 # Choose the main VM
 main_vm = vm1