diff options
author | Peter Xu <peterx@redhat.com> | 2016-07-14 13:56:22 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-07-20 19:31:04 +0300 |
commit | 651e4cefeee8e388919e51f4e299033ab2a8b87d (patch) | |
tree | c9eb2dedbfb664eb17b89b2b9983febd081ee20f /hw/ide | |
parent | a4ca297e848a3eda39acaec6941fed4eb35916df (diff) | |
download | qemu-651e4cefeee8e388919e51f4e299033ab2a8b87d.zip qemu-651e4cefeee8e388919e51f4e299033ab2a8b87d.tar.gz qemu-651e4cefeee8e388919e51f4e299033ab2a8b87d.tar.bz2 |
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/ide')
0 files changed, 0 insertions, 0 deletions