KVM: x86: remove the unused assigned_dev_head from kvm_arch
PATCH 1/1 KVM: x86: remove the unused assigned_dev_head from kvm_arch
Legacy device assignment was dropped years ago. This field is not used anymore.
Signed-off-by Liang Chen <[email protected]>
--- arch/x86/include/asm/kvm_host.h | 1 - arch/x86/kvm/x86.c | 1 - 2 files changed, 2 deletions(-)
arch/x86/include/asm/kvm_host.h +0 -1
@@ -1275,7 +1275,6 @@ struct kvm_arch {*/ spinlock_t mmu_unsync_pages_lock; -struct list_head assigned_dev_head;struct iommu_domain *iommu_domain;bool iommu_noncoherent;#define __KVM_HAVE_ARCH_NONCOHERENT_DMA
arch/x86/kvm/x86.c +0 -1
@@ -12326,7 +12326,6 @@ int kvm_arch_init_vm(struct kvm *kvm, unsigned long type) goto out_uninit_mmu;INIT_HLIST_HEAD (&kvm->arch.mask_notifier_list); -INIT_LIST_HEAD (&kvm->arch.assigned_dev_head);atomic_set (&kvm->arch.noncoherent_dma_count,0 );/* Reserve bit 0 of irq_sources_bitmap for userspace irq source */
Signature · 1 line
2.40.1
Quoted 2 lines · Liang Chen
Legacy device assignment was dropped years ago. This field is not used anymore.
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: remove the unused assigned_dev_head from kvm_arch
https://github.com/kvm-x86/linux/commit/122ae01c5159