KVM: Fix apic_mmio_write return for unaligned write
authorSheng Yang <sheng@linux.intel.com>
Mon, 6 Jul 2009 03:05:39 +0000 (11:05 +0800)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:08 +0000 (08:33 +0300)
commit756975bbfd185169aac19f227d65a8d738a5f5f8
treec26de774f20b4fad0db83f2227c215774cf3b915
parent70f93dae32aca8b3b7da66891aecd3ee0ee48060
KVM: Fix apic_mmio_write return for unaligned write

Some in-famous OS do unaligned writing for APIC MMIO, and the return value
has been missed in recent change, then the OS hangs.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/lapic.c