Use the host's cpuid facilities to see if features are supporte. This allows the clearcpuid boot parameter to work, and allows Linux to disable nx if it is not enabled on all cpus. Avi Kivity (2): KVM: SVM: Replace svm_has() by standard Linux cpuid accessors KVM: Mask KVM_GET_SUPPORTED_CPUID data with Linux cpuid info arch/x86/kvm/svm.c | 15 +++++---------- arch/x86/kvm/x86.c | 9 +++++++++ 2 files changed, 14 insertions(+), 10 deletions(-) -- 1.7.3.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html