]> err.no Git - linux-2.6/commit
KVM: Protect in-kernel pio using kvm->lock
authorEddie Dong <eddie.dong@intel.com>
Sun, 22 Jul 2007 07:36:31 +0000 (10:36 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:25 +0000 (10:18 +0200)
commit9cf98828d12285d1fb43e774c8c100a55f8f34e1
tree0b9d1f8b2af7423c34ebf7e3df4c5c27a3aabf64
parentb6958ce44a11a9e9425d2b67a653b1ca2a27796f
KVM: Protect in-kernel pio using kvm->lock

pio operation and IRQ_LINE kvm_vm_ioctl is not kvm->lock
protected.  Add lock to same with IOAPIC MMIO operations.

Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c