Messages in this thread Patch in this message | | | Subject | Re: [PATCH 23/42] KVM: Activate Virtualization On Demand | From | Alexander Graf <> | Date | Mon, 16 Aug 2010 15:24:08 +0200 |
| |
On 08.08.2010, at 14:02, Serge Belyshev wrote:
> Hi! Since the above patch went in > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=10474ae8 > I have exactly the same problem as Dieter. > >>>> If that's the case I'd say you have a broken BIOS or bootloader. >>> >>> You are right, it seems to be always cpu0. I'll check my BIOS and flash >>> a newer version if available. >> >> Please do. If that doesn't help ping me again. I'll write up a quirk patch then. >> > > My h/w is a bit different (cpu: 9850 B3, mb: GA-MA790FX-DQ6 bios F7b), > but I cannot use latest available BIOS (F7d) as it breaks my SAS controller. > > So I guess I need the quirk patch.
Hrm - try to use the following (probably whitespace broken and 100% untested) hacky patch:
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 56c9b6b..bde9ee3 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -429,9 +429,11 @@ static int svm_hardware_enable(void *garbage) struct desc_struct *gdt; int me = raw_smp_processor_id(); +#if 0 rdmsrl(MSR_EFER, efer); if (efer & EFER_SVME) return -EBUSY; +#endif if (!has_svm()) { printk(KERN_ERR "svm_hardware_enable: err EOPNOTSUPP on %d\n",
Alex
| |