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 |
On Fri, 24 Jan 2025 15:50:55 +0800, Ted Chen wrote: > 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"). > > Applied to kvm-x86 misc, thanks! [1/1] KVM: x86: Remove unused iommu_domain and iommu_noncoherent from kvm_arch https://github.com/kvm-x86/linux/commit/dfcbcd864edc -- https://github.com/kvm-x86/linux/tree/next
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
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(-)