kvm: no hardware support

Previous thread: Linux 2.6.23.16 by Greg Kroah-Hartman on Monday, February 11, 2008 - 2:26 am. (2 messages)

Next thread: Linux 2.6.22.18 by Greg Kroah-Hartman on Monday, February 11, 2008 - 3:43 am. (7 messages)
To: Avi Kivity <avi@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Monday, February 11, 2008 - 2:42 am

I enable vmx and svm option for KVM in .config

on amd SVM enable system

vmx get tried at first

and get
kvm: no hardware support

Calling initcall 0xffffffff80c2d465: vmx_init+0x0/0x119()
kvm: no hardware support
initcall 0xffffffff80c2d465: vmx_init+0x0/0x119() returned -95.
initcall 0xffffffff80c2d465 ran for 2 msecs: vmx_init+0x0/0x119()
initcall at 0xffffffff80c2d465: vmx_init+0x0/0x119(): returned with
error code -95

Calling initcall 0xffffffff80c2d57e: svm_init+0x0/0x13()
initcall 0xffffffff80c2d57e: svm_init+0x0/0x13() returned 0.
initcall 0xffffffff80c2d57e ran for 0 msecs: svm_init+0x0/0x13()

suggest you add .name in ops like "vmx" or "svm"

and that message can become
kvm: no hardware support for vmx
or
kvm: no hardware support for svm

or just remove that line.
}

if (!ops->cpu_has_kvm_support()) {
- printk(KERN_ERR "kvm: no hardware support\n");
r = -EOPNOTSUPP;
goto out;
}

YH
--

Previous thread: Linux 2.6.23.16 by Greg Kroah-Hartman on Monday, February 11, 2008 - 2:26 am. (2 messages)

Next thread: Linux 2.6.22.18 by Greg Kroah-Hartman on Monday, February 11, 2008 - 3:43 am. (7 messages)