diff --git a/1093-virtiofs-Force-VIRTIO_F_IOMMU_PLATFORM-feature-to-su.patch b/1093-virtiofs-Force-VIRTIO_F_IOMMU_PLATFORM-feature-to-su.patch new file mode 100644 index 0000000000000000000000000000000000000000..e598e7cd420b3bfb12c0ca9601797a1e78eb58ff --- /dev/null +++ b/1093-virtiofs-Force-VIRTIO_F_IOMMU_PLATFORM-feature-to-su.patch @@ -0,0 +1,29 @@ +From 4e8afb6d519f95de4f7c51f435b8625079e01f26 Mon Sep 17 00:00:00 2001 +From: hanliyang +Date: Thu, 27 Oct 2022 21:20:28 -0400 +Subject: [PATCH] virtiofs: Force VIRTIO_F_IOMMU_PLATFORM feature to support + CSV VM + +Signed-off-by: hanliyang +Change-Id: I6edd679c4990afdb14cd77be1d2f28ec4bccb748 +--- + tools/virtiofsd/fuse_virtio.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/virtiofsd/fuse_virtio.c b/tools/virtiofsd/fuse_virtio.c +index fc2564a603..fa9dc126e5 100644 +--- a/tools/virtiofsd/fuse_virtio.c ++++ b/tools/virtiofsd/fuse_virtio.c +@@ -91,7 +91,7 @@ struct virtio_fs_config { + /* Callback from libvhost-user */ + static uint64_t fv_get_features(VuDev *dev) + { +- return 1ULL << VIRTIO_F_VERSION_1; ++ return 1ULL << VIRTIO_F_VERSION_1 | 1ULL << VIRTIO_F_IOMMU_PLATFORM; + } + + /* Callback from libvhost-user */ +-- +2.25.1 + + diff --git a/qemu-kvm.spec b/qemu-kvm.spec index 72094cf774241429139bafb53639d733c6b3dbe0..0e6634f8589320e5c27669c4ca38eccefab2488a 100644 --- a/qemu-kvm.spec +++ b/qemu-kvm.spec @@ -964,6 +964,7 @@ Patch1089: 1089-target-i386-Add-new-CPU-model-GraniteRapids.patch Patch1090: 1090-target-i386-Add-support-for-AMX-COMPLEX-in-CPUID-enu.patch Patch1091: 1091-target-i386-Add-new-CPU-model-SierraForest.patch Patch1092: 1092-target-i386-Export-RFDS-bit-to-guests.patch +Patch1093: 1093-virtiofs-Force-VIRTIO_F_IOMMU_PLATFORM-feature-to-su.patch BuildRequires: wget BuildRequires: rpm-build @@ -2202,6 +2203,9 @@ sh %{_sysconfdir}/sysconfig/modules/kvm.modules &> /dev/null || : %endif %changelog +* Fri Aug 16 2024 Xingrui Yi - 6.2.0-50.0.3 +- virtiofs: Force VIRTIO_F_IOMMU_PLATFORM feature to support + * Thu Jul 18 2024 Quanxian Wang - 6.2.0-50.0.2 - Intel-SIG: Supprt Intel SPR/GNR/SRF new ISAs and cpu models