]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: Add request bit to reload APIC access page address
authorTang Chen <tangchen@cn.fujitsu.com>
Wed, 24 Sep 2014 07:57:54 +0000 (15:57 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Sep 2014 12:08:00 +0000 (14:08 +0200)
commit47c959337c47d5533915471326196778e125cf4b
treeb88c0d65ef1d6b14e82ed31a1e8ae4d0e63507b4
parent571a59db4251d1dd8cd85aab8c629b2d619304e3
kvm: x86: Add request bit to reload APIC access page address

Currently, the APIC access page is pinned by KVM for the entire life
of the guest.  We want to make it migratable in order to make memory
hot-unplug available for machines that run KVM.

This patch prepares to handle this in generic code, through a new
request bit (that will be set by the MMU notifier) and a new hook
that is called whenever the request bit is processed.

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c
include/linux/kvm_host.h