From 2d6db53aea63533829fa60ae30c574bcdb7fad3b Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Wed, 19 Aug 2009 16:18:00 +0200
Subject: [PATCH] QA: remove the --default-hypervisor option

This option is gone since 1ac0f5e6d2f06a5bf12815e1b92d1338af32833c,
fixing the QA suite to deal with this.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 qa/qa-sample.json | 2 +-
 qa/qa_cluster.py  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/qa/qa-sample.json b/qa/qa-sample.json
index e5d498007..d2a18be2c 100644
--- a/qa/qa-sample.json
+++ b/qa/qa-sample.json
@@ -1,7 +1,7 @@
 {
   "name": "xen-test",
   "rename": "xen-test-rename",
-  "default-hypervisor": "xen-pvm",
+  "enabled-hypervisors": "xen-pvm",
 
   "os": "debian-etch",
   "mem": "512M",
diff --git a/qa/qa_cluster.py b/qa/qa_cluster.py
index 4d10c8f46..6f7d5ab6e 100644
--- a/qa/qa_cluster.py
+++ b/qa/qa_cluster.py
@@ -68,9 +68,9 @@ def TestClusterInit():
     cmd.append('--bridge=%s' % bridge)
     cmd.append('--master-netdev=%s' % bridge)
 
-  htype = qa_config.get('default-hypervisor', None)
+  htype = qa_config.get('enabled-hypervisors', None)
   if htype:
-    cmd.append('--default-hypervisor=%s' % htype)
+    cmd.append('--enabled-hypervisors=%s' % htype)
 
   cmd.append(qa_config.get('name'))
 
-- 
GitLab