Skip to contentSkip to conversation

KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch

PATCH Applied Ted Chen 2 participants 2 messages Jan 24, 2025 – Feb 15, 2025

Subsystems (3)
lore
Share & tools
lore

Ted Chen

author
#0 lore raw

PATCH 1/1 KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch

Remove the "iommu_domain" and "iommu_noncoherent" fields from struct kvm_arch, which are no longer used since commit ad6260da1e23 ("KVM: x86:
drop legacy device assignment").

---
 arch/x86/include/asm/kvm_host.h | 2 --
 1 file changed, 2 deletions(-)
arch/x86/include/asm/kvm_host.h +0 -2
index 5193c3dfbce1..c75156fdd395 100644
@@ -1345,8 +1345,6 @@ struct kvm_arch {
 
 	u64 shadow_mmio_value;
 
-	struct iommu_domain *iommu_domain;
-	bool iommu_noncoherent;
 #define __KVM_HAVE_ARCH_NONCOHERENT_DMA
 	atomic_t noncoherent_dma_count;
 #define __KVM_HAVE_ARCH_ASSIGNED_DEVICE
Signature · 1 line
2.34.1