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)
commitd77fe6354d5b67f4d4eb62a47621da2b3ee3539e
tree4c399e8125d69d128c200807eb517dd7c20b277b
parent60f9a9ef5492cae66aca2ad9873360161320d5af
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