[PATCH v5 0/3] KVM: x86: enable Intel MPX for KVM

From: Liu, Jinsong
Date: Mon Feb 24 2014 - 05:54:01 EST


These patches are version 5 to enable Intel MPX for KVM.

Version 1:
* Add some Intel MPX definiation
* Fix a cpuid(0x0d, 0) exposing bug, dynamic per XCR0 features enable/disable
* vmx and msr handle for MPX support at KVM
* enalbe MPX feature for guest

Version 2:
* remove generic MPX definiation, Qiaowei's patch has add the definiation at kernel side
* add MSR_IA32_BNDCFGS to msrs_to_save

Version 3:
* rebase on latest kernel, which include Qiaowei's MPX common definiation pulled from HPA's tree

Version 4:
* Remove xsave bugfix patch from this series as a standalone patch
* Add a new kvm_x86_ops member mpx_supported, to disable MPX whenever the two VMX controls are not available
* minor rebase for VMX bit definition

Version 5:
* Add conditional mpx_supported when expose MPX to guest

Thanks,
Jinsong


Liu Jinsong (3):
KVM: x86: Intel MPX vmx and msr handle
KVM: x86: add MSR_IA32_BNDCFGS to msrs_to_save
KVM: x86: Enable Intel MPX for guest

arch/x86/include/asm/kvm_host.h | 1 +
arch/x86/include/asm/vmx.h | 4 ++++
arch/x86/include/uapi/asm/msr-index.h | 1 +
arch/x86/kvm/cpuid.c | 4 +++-
arch/x86/kvm/vmx.c | 24 ++++++++++++++++++++++--
arch/x86/kvm/x86.c | 8 +++++++-
arch/x86/kvm/x86.h | 3 ++-
7 files changed, 40 insertions(+), 5 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/