v4: http://lists.nongnu.org/archive/html/qemu-devel/2016-10/msg00698.html v5 is one patch shorter as it merged two patches from v4 into [6/7].
The x2APIC mode works on >=2.8 machine types with this series and <2.7 remain compatible (aka broken). Radim Krčmář (7): apic: add global apic_get_class() apic: add send_msi() to APICCommonClass intel_iommu: pass whole remapped addresses to apic intel_iommu: redo configuraton check in realize intel_iommu: add OnOffAuto intr_eim as "eim" property intel_iommu: reject broken EIM target-i386/kvm: cache the return value of kvm_enable_x2apic() hw/i386/intel_iommu.c | 81 ++++++++++++++++++++++++++++++----------- hw/i386/kvm/apic.c | 19 +++++++--- hw/i386/xen/xen_apic.c | 6 +++ hw/intc/apic.c | 8 +++- hw/intc/apic_common.c | 1 + include/hw/compat.h | 4 ++ include/hw/i386/apic_internal.h | 6 +++ include/hw/i386/intel_iommu.h | 2 + target-i386/cpu.c | 13 +++++-- target-i386/kvm-stub.c | 5 +++ target-i386/kvm.c | 26 +++++++++++++ target-i386/kvm_i386.h | 1 + 12 files changed, 140 insertions(+), 32 deletions(-) -- 2.10.1