KVM: x86: reset lapic base in kvm_lapic_reset
authorRadim Krčmář <rkrcmar@redhat.com>
Tue, 12 Jul 2016 20:09:25 +0000 (22:09 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Jul 2016 07:03:56 +0000 (09:03 +0200)
commit4d8e772bf8e3fcf55fe17e84ce68c20e03041efc
tree626e885447521daca68ac75b724efa7fe7882683
parentc93de59dcd9bef0044e615493ab52d3958243d87
KVM: x86: reset lapic base in kvm_lapic_reset

LAPIC is reset in xAPIC mode and the surrounding code expects that.
KVM never resets after initialization.  This patch is just for sanity.

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