v3 -> v4: 1. In patch# 1, 'guest_cr4_reserved_bits' has been renamed to 'cr4_guest_rsvd_bits' and it's now located where other CR4-related members are. 2. Rebased to the latest Upstream sources. [PATCH 1/3 v4] KVM: x86: Create mask for guest CR4 reserved bits in [PATCH 2/3 v4] KVM: nSVM: Check that MBZ bits in CR3 and CR4 are not set on [PATCH 3/3 v4] kvm-unit-tests: nSVM: Test that MBZ bits in CR3 and CR4 are arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/cpuid.c | 2 ++ arch/x86/kvm/svm/nested.c | 22 ++++++++++++++++++++-- arch/x86/kvm/svm/svm.h | 5 ++++- arch/x86/kvm/x86.c | 27 ++++----------------------- arch/x86/kvm/x86.h | 21 +++++++++++++++++++++ 6 files changed, 52 insertions(+), 26 deletions(-) Krish Sadhukhan (2): KVM: x86: Create mask for guest CR4 reserved bits in kvm_update_cpuid() nSVM: Check that MBZ bits in CR3 and CR4 are not set on vmrun of nested gu x86/svm.h | 5 +++ x86/svm_tests.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 95 insertions(+), 4 deletions(-) Krish Sadhukhan (1): kvm-unit-tests: nSVM: Test that MBZ bits in CR3 and CR4 are not set on vmr