From: Radim Krčmář Date: Thu, 30 Oct 2014 14:06:46 +0000 (+0100) Subject: KVM: x86: detect LVTT changes under APICv X-Git-Tag: omap-for-v3.19/fixes-rc1~43^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a323b409820c8afd33fbd841f5534eb84b406e8d;p=pandora-kernel.git 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ář Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed