commit | 6031a61c2ef4cf22b69ef5494aefa54b84a27d2f | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Jun 22 12:29:50 2007 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Mon Jul 16 12:05:49 2007 +0300 |
tree | 2e0ccd861da726e76785a0a68a46da06951f1eb0 | |
parent | 796fd1b23e463e98b3e2fc86ed571db06dc945bb [diff] |
KVM: SVM: Reliably detect if SVM was disabled by BIOS This patch adds an implementation to the svm is_disabled function to detect reliably if the BIOS disabled the SVM feature in the CPU. This fixes the issues with kernel panics when loading the kvm-amd module on machines where SVM is available but disabled. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@qumranet.com>