diff mbox series

KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch

Message ID 20250124075055.97158-1-znscnchen@gmail.com (mailing list archive)
State New
Headers show
Series KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch | expand

Commit Message

Ted Chen Jan. 24, 2025, 7:50 a.m. UTC
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").

Signed-off-by: Ted Chen <znscnchen@gmail.com>
---
 arch/x86/include/asm/kvm_host.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 5193c3dfbce1..c75156fdd395 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -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