[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250206022656.3752383-1-fuqiang.wng@gmail.com>
Date: Thu, 6 Feb 2025 10:26:56 +0800
From: fuqiang wang <fuqiang.wng@...il.com>
To: Sean Christopherson <seanjc@...gle.com>,
Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org,
linux-kernel@...r.kernel.org,
wangfuqiang49 <wangfuqiang49@...com>
Subject: [PATCH] kvm: delete unused variables iommu_noncoherent in struct kvm_arch
The code of legacy device assignment is deleted entirely in commit
ad6260da1e23 ("KVM: x86: drop legacy device assignment") and the
variable iommu_noncoherent in struct kvm_arch is also not referenced by
any other code. So it is deleted in this patch.
Signed-off-by: wangfuqiang49 <wangfuqiang49@...com>
---
arch/x86/include/asm/kvm_host.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index b15cde0a9b5c..98555afb6f10 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -1354,7 +1354,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
--
2.47.0
Powered by blists - more mailing lists