586cba
From 85781b8745fa1581a66f64011d61a4f0c4e103dc Mon Sep 17 00:00:00 2001
586cba
From: Eric Auger <eric.auger@redhat.com>
586cba
Date: Fri, 6 May 2022 17:03:11 +0200
586cba
Subject: [PATCH 3/5] Enable virtio-iommu-pci on aarch64
586cba
586cba
RH-Author: Eric Auger <eric.auger@redhat.com>
586cba
RH-MergeRequest: 83: Enable virtio-iommu-pci on aarch64
586cba
RH-Commit: [1/1] 23e5c0832e52c66adf5fd6daccdc3edddc7ecb8b (eauger1/centos-qemu-kvm)
586cba
RH-Bugzilla: 1477099
586cba
RH-Acked-by: Gavin Shan <gshan@redhat.com>
586cba
RH-Acked-by: Andrew Jones <drjones@redhat.com>
586cba
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
586cba
586cba
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1477099
586cba
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=45128798
586cba
Upstream Status: RHEL-only
586cba
Tested: With virtio-net-pci and virtio-block-pci
586cba
586cba
let's enable the virtio-iommu-pci device on aarch64 by
586cba
turning CONFIG_VIRTIO_IOMMU on.
586cba
586cba
Signed-off-by: Eric Auger <eric.auger@redhat.com>
586cba
---
586cba
 configs/devices/aarch64-softmmu/aarch64-rh-devices.mak | 1 +
586cba
 1 file changed, 1 insertion(+)
586cba
586cba
diff --git a/configs/devices/aarch64-softmmu/aarch64-rh-devices.mak b/configs/devices/aarch64-softmmu/aarch64-rh-devices.mak
586cba
index 187938573f..1618d31b89 100644
586cba
--- a/configs/devices/aarch64-softmmu/aarch64-rh-devices.mak
586cba
+++ b/configs/devices/aarch64-softmmu/aarch64-rh-devices.mak
586cba
@@ -23,6 +23,7 @@ CONFIG_VFIO_PCI=y
586cba
 CONFIG_VIRTIO_MMIO=y
586cba
 CONFIG_VIRTIO_PCI=y
586cba
 CONFIG_VIRTIO_MEM=y
586cba
+CONFIG_VIRTIO_IOMMU=y
586cba
 CONFIG_XIO3130=y
586cba
 CONFIG_NVDIMM=y
586cba
 CONFIG_ACPI_APEI=y
586cba
-- 
586cba
2.31.1
586cba