kvm: Use APIC_DEFAULT_PHYS_BASE macro as the apic access page address.
authorTang Chen <tangchen@cn.fujitsu.com>
Thu, 11 Sep 2014 05:38:00 +0000 (13:38 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Sep 2014 09:10:22 +0000 (11:10 +0200)
commit73a6d9416279f138833574f11dc82134fb56908d
treede8a02e2a02e4e5f68c82aba8926825e35e7d127
parent2c69c1a32140262d5d6104ab96df2e52c08c1e93
kvm: Use APIC_DEFAULT_PHYS_BASE macro as the apic access page address.

We have APIC_DEFAULT_PHYS_BASE defined as 0xfee00000, which is also the address of
apic access page. So use this macro.

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Reviewed-by: Gleb Natapov <gleb@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c