diff options
| author | Joao Martins <joao.m.martins@oracle.com> | 2025-09-19 21:35:14 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-10-05 16:13:02 -0400 |
| commit | b6b49c2cd6c2be8aac80f7563950398c7128f19e (patch) | |
| tree | ff8bb3e095007e975078ce6ca66263ecead381ab /hw/i386/x86-iommu.c | |
| parent | de83472bee07aea583b777dce4666faa677d1c18 (diff) | |
| download | focaccia-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 'hw/i386/x86-iommu.c')
| -rw-r--r-- | hw/i386/x86-iommu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/x86-iommu.c b/hw/i386/x86-iommu.c index d34a6849f4..c127a44bb4 100644 --- a/hw/i386/x86-iommu.c +++ b/hw/i386/x86-iommu.c @@ -130,6 +130,7 @@ static const Property x86_iommu_properties[] = { intr_supported, ON_OFF_AUTO_AUTO), DEFINE_PROP_BOOL("device-iotlb", X86IOMMUState, dt_supported, false), DEFINE_PROP_BOOL("pt", X86IOMMUState, pt_supported, true), + DEFINE_PROP_BOOL("dma-translation", X86IOMMUState, dma_translation, true), }; static void x86_iommu_class_init(ObjectClass *klass, const void *data) |