]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: x86: keep track of LVT0 changes under APICv
authorRadim Krčmář <rkrcmar@redhat.com>
Tue, 30 Jun 2015 20:19:16 +0000 (22:19 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 Jul 2015 16:55:18 +0000 (18:55 +0200)
commit59fd132340b3e37b83179d2fcb673980035edf62
tree205f62686d47c95eb3c4dbbc2b3d48b42b26510d
parentdb1385624c686fe99fe2d1b61a36e1537b915d08
KVM: x86: keep track of LVT0 changes under APICv

Memory-mapped LVT0 register already contains the new value when APICv
traps so we can't directly detect a change.
Memorize a bit we are interested in to enable legacy NMI watchdog.

Suggested-by: Yoshida Nobuo <yoshida.nb@ncos.nec.co.jp>
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