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?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1201092

Title:
  Cannot load kvm_amd module - (says disabled by bios)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1201092/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to