Comment 33 for bug 1201092

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

It does appear this could be a BIOS issue. The kernel is basically performing a rdmsr, like you did from the command line and getting a return value that KVM is disabled. Here's a snippet of that code:

static int is_disabled(void)
{
        u64 vm_cr;

        rdmsrl(MSR_VM_CR, vm_cr);
        if (vm_cr & (1 << SVM_VM_CR_SVM_DISABLE))
                return 1;

        return 0;
}

The return of 1 in the above code causes the message you see when trying to load the module:

if (ops->disabled_by_bios()) {
                printk(KERN_ERR "kvm: disabled by bios\n");
                r = -EOPNOTSUPP;
                goto out;
        }

One way to confirm this is a BIOS issue would be to try Windows, and see if it also has this same issue. Is that a possibility for you?