Intel Virtualization cpuflags are 'vmx' not 'vme' (Virtual Mode
Extensions are present on both intel and amd cpus).
From: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@872 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/kvm.py b/server/kvm.py
index 740f811..d8df7e2 100644
--- a/server/kvm.py
+++ b/server/kvm.py
@@ -112,7 +112,7 @@
'grep -e "^flags" | head -1 | cut -d " " -f 2-'
).stdout.strip()
- if cpu_flags.find('vme') != -1:
+ if cpu_flags.find('vmx') != -1:
module_type= "intel"
elif cpu_flags.find('svm') != -1:
module_type= "amd"
@@ -248,7 +248,7 @@
Raises:
AutoservVirtError: cpuid doesn't report virtualization
- extentions (vme for intel or svm for amd), in
+ extentions (vmx for intel or svm for amd), in
this case, kvm cannot run.
"""
self.pid_dir= self.host.get_tmp_dir()