]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: x86: properly restore LVT0
authorRadim Krčmář <rkrcmar@redhat.com>
Tue, 30 Jun 2015 20:19:17 +0000 (22:19 +0200)
committerZefan Li <lizefan@huawei.com>
Thu, 22 Oct 2015 01:20:07 +0000 (09:20 +0800)
commit8d6a97ca45dfa0fd1ef04c498126784f59198ad3
tree10066160f6929fc3d3abde42e5d641e79a2bfcdb
parent08c730489602b6e3092e54180f47a7b3bfc32172
KVM: x86: properly restore LVT0

commit db1385624c686fe99fe2d1b61a36e1537b915d08 upstream.

Legacy NMI watchdog didn't work after migration/resume, because
vapics_in_nmi_mode was left at 0.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[lizf: Backported to 3.4:
 - adjust context
 - s/kvm_apic_get_reg/apic_get_reg/]
Signed-off-by: Zefan Li <lizefan@huawei.com>
arch/x86/kvm/lapic.c