summary refs log tree commit diff stats
path: root/include
diff options
context:
space:
mode:
authorJoao Martins <joao.m.martins@oracle.com>2025-09-19 21:35:14 +0000
committerMichael S. Tsirkin <mst@redhat.com>2025-10-05 16:13:02 -0400
commitb6b49c2cd6c2be8aac80f7563950398c7128f19e (patch)
treeff8bb3e095007e975078ce6ca66263ecead381ab /include
parentde83472bee07aea583b777dce4666faa677d1c18 (diff)
downloadfocaccia-qemu-b6b49c2cd6c2be8aac80f7563950398c7128f19e.tar.gz
focaccia-qemu-b6b49c2cd6c2be8aac80f7563950398c7128f19e.zip
intel-iommu: Move dma_translation to x86-iommu
To be later reused by AMD, now that it shares similar property.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20250919213515.917111-22-alejandro.j.jimenez@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/i386/x86-iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/i386/x86-iommu.h b/include/hw/i386/x86-iommu.h
index bfd21649d0..e89f55a5c2 100644
--- a/include/hw/i386/x86-iommu.h
+++ b/include/hw/i386/x86-iommu.h
@@ -64,6 +64,7 @@ struct X86IOMMUState {
     OnOffAuto intr_supported;   /* Whether vIOMMU supports IR */
     bool dt_supported;          /* Whether vIOMMU supports DT */
     bool pt_supported;          /* Whether vIOMMU supports pass-through */
+    bool dma_translation;       /* Whether vIOMMU supports DMA translation */
     QLIST_HEAD(, IEC_Notifier) iec_notifiers; /* IEC notify list */
 };