KVM: x86: optimize some accesses to LVTT and SPIV
authorRadim Krčmář <rkrcmar@redhat.com>
Thu, 30 Oct 2014 14:06:47 +0000 (15:06 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Nov 2014 11:07:32 +0000 (12:07 +0100)
commitf30ebc312ca9def25650b4e1d01cdb425c310dca
treebc3bda35500fdd10e6d2dced919633fde0c322c3
parenta323b409820c8afd33fbd841f5534eb84b406e8d
KVM: x86: optimize some accesses to LVTT and SPIV

We mirror a subset of these registers in separate variables.
Using them directly should be faster.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h