Commit dfcbcd86 authored by Ted Chen's avatar Ted Chen Committed by Sean Christopherson
Browse files

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 ad6260da ("KVM: x86:
drop legacy device assignment").

Signed-off-by: default avatarTed Chen <znscnchen@gmail.com>
Link: https://lore.kernel.org/r/20250124075055.97158-1-znscnchen@gmail.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent a64dcfb4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1353,8 +1353,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