This patch set has been completely reimplemented according to ideas from the discussion of v2.
It still solves the same problem, but does so only within the Intel IOMMU code and Q35, without changing the IOMMU interface. This eliminates the need for any separate interface change patch. This is the thread following v2 of the patch set: http://thread.gmane.org/gmane.comp.emulators.qemu/358525 This is the thread following the initial patch set: http://thread.gmane.org/gmane.comp.emulators.qemu/302246 The patch set was also discussed in this thread: http://thread.gmane.org/gmane.comp.emulators.qemu/316949 Changes from v2: - Completely reimplemented fix to avoid API change and further logical deviation from how hardware works. API change no longer necessary, so just a single patch. Changes from v1: - Rebased to current master - Fixed minor syntax issues Knut Omang (1): intel_iommu: Add support for translation for devices behind bridges hw/i386/intel_iommu.c | 90 +++++++++++++++++++++++++++++++++++-------- hw/pci-host/q35.c | 25 ++---------- include/hw/i386/intel_iommu.h | 16 +++++++- 3 files changed, 91 insertions(+), 40 deletions(-) -- 2.4.3