qemu/Kconfig-iommufd-VDPA-Update-IOMMUFD-module-configura.patch
Jiabo Feng b60d6a584c QEMU update to version 8.2.0-32:
- target/i386: csv: Release CSV3 shared pages after unmapping DMA
- target/i386: Add new CPU model ClearwaterForest
- target/i386: add sha512, sm3, sm4 feature bits
- docs: Add GNR, SRF and CWF CPU models
- target/i386: Export BHI_NO bit to guests
- target/i386: Introduce SierraForest-v2 model
- vdpa/iommufd:Implement DMA mapping through the iommufd interface
- vdpa/iommufd:Introduce vdpa-iommufd module
- vdpa/iommufd:support associating iommufd backend for vDPA devices
- Kconfig/iommufd/VDPA: Update IOMMUFD module configuration dependencies The vDPA module can also use IOMMUFD like the VFIO module.
- backends/iommufd: Get rid of qemu_open_old()
- backends/iommufd: Make iommufd_backend_*() return bool
- backends/iommufd: Fix missing ERRP_GUARD() for error_prepend()
- backends/iommufd: Remove mutex
- backends/iommufd: Remove check on number of backend users
- hw/intc: Add extioi ability of 256 vcpu interrupt routing
- hw/rtc: Fixed loongson rtc emulation errors
- hw/loongarch/boot: Adjust the loading position of the initrd
- target/loongarch: Fix the cpu unplug resource leak
- target/loongarch: fix vcpu reset command word issue
- vdpa:Fix dirty page bitmap synchronization not done after suspend for vdpa devices

Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
(cherry picked from commit a5212066e7516ff2a316e1b2feaa75dd5ee4d17a)
2025-05-15 17:01:38 +08:00

39 lines
1.0 KiB
Diff

From 08a4aa240587fed26c17271bf9af87f0a5997f4a Mon Sep 17 00:00:00 2001
From: libai <libai12@huawei.com>
Date: Wed, 26 Mar 2025 18:59:33 +0800
Subject: [PATCH] Kconfig/iommufd/VDPA: Update IOMMUFD module configuration
dependencies The vDPA module can also use IOMMUFD like the VFIO module.
Therefore, adjust Kconfig to remove the dependency of IOMMUFD on VFIO and add
a reverse dependency on IOMMUFD for vDPA
Signed-off-by: libai <libai12@huawei.com>
---
Kconfig.host | 1 +
backends/Kconfig | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/Kconfig.host b/Kconfig.host
index f496475f8e..faf58d9af5 100644
--- a/Kconfig.host
+++ b/Kconfig.host
@@ -28,6 +28,7 @@ config VHOST_USER
config VHOST_VDPA
bool
+ select IOMMUFD
config VHOST_KERNEL
bool
diff --git a/backends/Kconfig b/backends/Kconfig
index 2cb23f62fa..8d0be5a263 100644
--- a/backends/Kconfig
+++ b/backends/Kconfig
@@ -2,4 +2,3 @@ source tpm/Kconfig
config IOMMUFD
bool
- depends on VFIO
--
2.41.0.windows.1