]> err.no Git - linux-2.6/commit
KVM: Bypass irq_pending get/set when using in kernel irqchip
authorHe, Qing <qing.he@intel.com>
Thu, 2 Aug 2007 11:03:07 +0000 (14:03 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:25 +0000 (10:18 +0200)
commitc52fb35a8b5dada749d35fbe15ac1f9857b22896
treef3df58816b72f208cbf5bc734d3754d9435a632a
parent6ceb9d791eeeb0a5493958f5d6d4dc7d91e59cf7
KVM: Bypass irq_pending get/set when using in kernel irqchip

vcpu->irq_pending is saved in get/set_sreg IOCTL, but when in-kernel
local APIC is used, doing this may occasionally overwrite vcpu->apic to
an invalid value, as in the vm restore path.

Signed-off-by: Qing He <qing.he@intel.com>
drivers/kvm/kvm_main.c