qemu/hw/i386
Jan Kiszka 28589311b3 intel_iommu: Add support for Extended Interrupt Mode
As neither QEMU nor KVM support more than 255 CPUs so far, this is
simple: we only need to switch the destination ID translation in
vtd_remap_irq_get if EIME is set.

Once CFI support is there, it will have to take EIM into account as
well. So far, nothing to do for this.

This patch allows to use x2APIC in split irqchip mode of KVM.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
[use le32_to_cpu() to retrieve dest_id]
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-07-21 20:43:49 +03:00
..
kvm Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
xen include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
acpi-build.c acpi: add DMAR scope definition for root IOAPIC 2016-07-20 19:30:27 +03:00
acpi-build.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
intel_iommu_internal.h intel_iommu: Add support for Extended Interrupt Mode 2016-07-21 20:43:49 +03:00
intel_iommu.c intel_iommu: Add support for Extended Interrupt Mode 2016-07-21 20:43:49 +03:00
kvmvapic.c cpu-exec: Rename cpu_resume_from_signal() to cpu_loop_exit_noexc() 2016-06-09 15:55:02 +01:00
Makefile.objs x86-iommu: introduce parent class 2016-07-20 19:30:27 +03:00
multiboot.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
multiboot.h
pc_piix.c xen: fix ram init regression 2016-07-04 14:50:00 +03:00
pc_q35.c hw/iommu: enable iommu with -device 2016-07-04 14:50:58 +03:00
pc_sysfw.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
pc.c q35: ioapic: add support for emulated IOAPIC IR 2016-07-21 20:43:49 +03:00
pci-assign-load-rom.c pci-assign: Move "Invalid ROM" error message to pci-assign-load-rom.c 2016-06-29 14:03:47 +02:00
trace-events x86-iommu: introduce IEC notifiers 2016-07-21 20:43:49 +03:00
x86-iommu.c x86-iommu: introduce IEC notifiers 2016-07-21 20:43:49 +03:00