summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc.c
diff options
context:
space:
mode:
authorPeter Xu2016-07-14 07:56:22 +0200
committerMichael S. Tsirkin2016-07-20 18:31:04 +0200
commit651e4cefeee8e388919e51f4e299033ab2a8b87d (patch)
treec9eb2dedbfb664eb17b89b2b9983febd081ee20f /hw/i386/pc.c
parentintel_iommu: add IR translation faults defines (diff)
downloadqemu-651e4cefeee8e388919e51f4e299033ab2a8b87d.tar.gz
qemu-651e4cefeee8e388919e51f4e299033ab2a8b87d.tar.xz
qemu-651e4cefeee8e388919e51f4e299033ab2a8b87d.zip
intel_iommu: Add support for PCI MSI remap
This patch enables interrupt remapping for PCI devices. To play the trick, one memory region "iommu_ir" is added as child region of the original iommu memory region, covering range 0xfeeXXXXX (which is the address range for APIC). All the writes to this range will be taken as MSI, and translation is carried out only when IR is enabled. Idea suggested by Paolo Bonzini. 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>
Diffstat (limited to 'hw/i386/pc.c')
0 files changed, 0 insertions, 0 deletions