]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Allow aligned byte and word writes to IOAPIC registers.
authorJulian Stecklina <js@alien8.de>
Wed, 23 Nov 2011 12:54:30 +0000 (13:54 +0100)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:17:44 +0000 (11:17 +0200)
commit3127faf403c291f022d29a8c04dc08b19117ce03
tree4c399e8125d69d128c200807eb517dd7c20b277b
parent26977cf5bba2e4cadaf5b2c6cdbd0935f4debc06
KVM: Allow aligned byte and word writes to IOAPIC registers.

This fixes byte accesses to IOAPIC_REG_SELECT as mandated by at least the
ICH10 and Intel Series 5 chipset specs. It also makes ioapic_mmio_write
consistent with ioapic_mmio_read, which also allows byte and word accesses.

Signed-off-by: Julian Stecklina <js@alien8.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/ioapic.c