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 <l...@redhat.com>
---
 client/tests/kvm/build.cfg.sample      |    1 +
 client/tests/kvm/tests_base.cfg.sample |    1 +
 client/tests/kvm/unittests.cfg.sample  |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/client/tests/kvm/build.cfg.sample 
b/client/tests/kvm/build.cfg.sample
index a689ed4..38812f0 100644
--- a/client/tests/kvm/build.cfg.sample
+++ b/client/tests/kvm/build.cfg.sample
@@ -7,6 +7,7 @@
 #    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 c3aac44..0543b5e 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
-- 
1.7.4

_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to