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 +-- arch/x86/kvm/vmx.c | 26 +++--------- arch/x86/kvm/x86.c | 93 +++++++++++++++++++---------------------- 3 files changed, 51 insertions(+), 74 deletions(-) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html