[PATCH 0/2] KVM: fix SMM with ept=1/unrestricted_guest=0

2015-10-12 Thread Paolo Bonzini
The fix is explained in the commit message for patch 2. A little bit of refactoring is needed. Paolo Bonzini (2): KVM: x86: build kvm_userspace_memory_region in x86_set_memory_region KVM: x86: map/unmap private slots in __x86_set_memory_region arch/x86/include/asm/kvm_host.h | 6 +--

[PATCH 0/2] KVM: fix SMM with ept=1/unrestricted_guest=0

2015-10-12 Thread Paolo Bonzini
The fix is explained in the commit message for patch 2. A little bit of refactoring is needed. Paolo Bonzini (2): KVM: x86: build kvm_userspace_memory_region in x86_set_memory_region KVM: x86: map/unmap private slots in __x86_set_memory_region arch/x86/include/asm/kvm_host.h | 6 +--