apic: add send_msi() to APICCommonClass
commit267ee357153bb61870b60da69ba9f839ddb0e32e
authorRadim Krčmář <rkrcmar@redhat.com>
Mon, 10 Oct 2016 15:28:43 +0000 (10 17:28 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Oct 2016 17:44:49 +0000 (17 15:44 -0200)
tree00d445a965aa271f50d8740ba131b9159e9277ce
parent2f114315dcf239bc513f18ae0b04b5df81cae059
apic: add send_msi() to APICCommonClass

The MMIO based interface to APIC doesn't work well with MSIs that have
upper address bits set (remapped x2APIC MSIs).  A specialized interface
is a quick and dirty way to avoid the shortcoming.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/kvm/apic.c
hw/i386/xen/xen_apic.c
hw/intc/apic.c
include/hw/i386/apic_internal.h