Re: [PATCH 0/2] A couple of KVM dead functions

From: Paolo Bonzini
Date: Tue Oct 01 2024 - 11:09:05 EST


On 10/1/24 16:13, linux@xxxxxxxxxxx wrote:
From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>

Hi,
Just some deadcode removal; I split it
because the second one is mentioned in docs
that I don't know mean if it's still needed or
how to fix up.

Let's change that to mention gfn_to_pfn_memslot instead - any *_to_pfn function will do, and the whole API is going away soon.

I queued the patches, thanks.

Paolo

Dave

Dr. David Alan Gilbert (2):
KVM: Remove unused kvm_vcpu_gfn_to_pfn
KVM: Remove unused kvm_vcpu_gfn_to_pfn_atomic

include/linux/kvm_host.h | 2 --
virt/kvm/kvm_main.c | 12 ------------
2 files changed, 14 deletions(-)