x86, apicv: add APICv register virtualization support
authorYang Zhang <yang.z.zhang@intel.com>
Fri, 25 Jan 2013 02:18:49 +0000 (10:18 +0800)
committerGleb Natapov <gleb@redhat.com>
Tue, 29 Jan 2013 08:47:54 +0000 (10:47 +0200)
commit83d4c286931c9d28c5be21bac3c73a2332cab681
tree524885d4cad7e7f1d98357711eff11b8224dc01e
parentd47510e295c0f82699192a61d715351cf00f65de
x86, apicv: add APICv register virtualization support

- APIC read doesn't cause VM-Exit
- APIC write becomes trap-like

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
arch/x86/kvm/vmx.c