KVM: x86: work on all available address spaces
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 May 2015 11:33:16 +0000 (13:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Jun 2015 15:26:37 +0000 (17:26 +0200)
commit9da0e4d5ac969909f6b435ce28ea28135a9cbd69
treee2aa8457b8dad5adc9fa3e91a8aa0e32c062e29c
parent54bf36aac520315385fe7623a5c3a698e993ceda
KVM: x86: work on all available address spaces

This patch has no semantic change, but it prepares for the introduction
of a second address space for system management mode.

A new function x86_set_memory_region (and the "slots_lock taken"
counterpart __x86_set_memory_region) is introduced in order to
operate on all address spaces when adding or deleting private
memory slots.

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c