Re: [PATCH] KVM: x86: drop legacy device assignment

From: Alex Williamson
Date: Mon Mar 27 2017 - 10:42:48 EST


On Mon, 27 Mar 2017 14:38:16 +0200
Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:

> VFIO is better and everyone should have switched to it. If they
> haven't, they will now. :)
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> ---
> arch/x86/kvm/Kconfig | 12 -
> arch/x86/kvm/Makefile | 2 -
> arch/x86/kvm/assigned-dev.c | 1058 -------------------------------------------
> arch/x86/kvm/assigned-dev.h | 32 --
> arch/x86/kvm/iommu.c | 356 ---------------
> arch/x86/kvm/x86.c | 14 +-
> include/linux/kvm_host.h | 16 -
> virt/kvm/kvm_main.c | 16 -
> 8 files changed, 1 insertion(+), 1505 deletions(-)
> delete mode 100644 arch/x86/kvm/assigned-dev.c
> delete mode 100644 arch/x86/kvm/assigned-dev.h
> delete mode 100644 arch/x86/kvm/iommu.c

Yes, it's been deprecated since v4.2. I'd suggest also updating
Documentation/virtual/kvm/api.txt. Otherwise looks good.

Reviewed-by: Alex Williamson <alex.williamson@xxxxxxxxxx>