thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
586cba
From c531a39171201f8a1d063e6af752e5d629c1b4bf Mon Sep 17 00:00:00 2001
586cba
From: Eric Auger <eric.auger@redhat.com>
586cba
Date: Thu, 9 Jun 2022 11:35:18 +0200
586cba
Subject: [PATCH 4/6] Enable virtio-iommu-pci on x86_64
586cba
586cba
RH-Author: Eric Auger <eric.auger@redhat.com>
586cba
RH-MergeRequest: 100: Enable virtio-iommu-pci on x86_64
586cba
RH-Commit: [1/1] a164af477efc7cb9d3d76a0e644f198f7c9fb2b5 (eauger1/centos-qemu-kvm)
586cba
RH-Bugzilla: 2094252
586cba
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
586cba
RH-Acked-by: MST <mst@redhat.com>
586cba
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
586cba
586cba
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2094252
586cba
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=45871185
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 x86_64 by
586cba
turning CONFIG_VIRTIO_IOMMU on.
586cba
586cba
Signed-off-by: Eric Auger <eric.auger@redhat.com>
586cba
---
586cba
 configs/devices/x86_64-softmmu/x86_64-rh-devices.mak | 1 +
586cba
 1 file changed, 1 insertion(+)
586cba
586cba
diff --git a/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak b/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak
586cba
index d0c9e66641..3850b9de72 100644
586cba
--- a/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak
586cba
+++ b/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak
586cba
@@ -90,6 +90,7 @@ CONFIG_VHOST_USER_BLK=y
586cba
 CONFIG_VIRTIO_MEM=y
586cba
 CONFIG_VIRTIO_PCI=y
586cba
 CONFIG_VIRTIO_VGA=y
586cba
+CONFIG_VIRTIO_IOMMU=y
586cba
 CONFIG_VMMOUSE=y
586cba
 CONFIG_VMPORT=y
586cba
 CONFIG_VTD=y
586cba
-- 
586cba
2.31.1
586cba