KVM: x86: detect LVTT changes under APICv
authorRadim Krčmář <rkrcmar@redhat.com>
Thu, 30 Oct 2014 14:06:46 +0000 (15:06 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Nov 2014 11:07:32 +0000 (12:07 +0100)
commita323b409820c8afd33fbd841f5534eb84b406e8d
tree9bc876d1347bf88e0b8b5be0c6d7ab79c998163a
parente462755cae2bf8297a663278935ad4d59812d2f3
KVM: x86: detect LVTT changes under APICv

APIC-write VM exits are "trap-like": they save CS:RIP values for the
instruction after the write, and more importantly, the handler will
already see the new value in the virtual-APIC page.  This means that
apic_reg_write cannot use kvm_apic_get_reg to omit timer cancelation
when mode changes.

timer_mode_mask shouldn't be changing as it depends on cpuid.

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
This page took 0.044747 seconds and 5 git commands to generate.