mbox series

[0/2] A couple of KVM dead functions

Message ID 20241001141354.18009-1-linux@treblig.org (mailing list archive)
Headers show
Series A couple of KVM dead functions | expand

Message

Dr. David Alan Gilbert Oct. 1, 2024, 2:13 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

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.

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(-)

Comments

Paolo Bonzini Oct. 1, 2024, 3:03 p.m. UTC | #1
On 10/1/24 16:13, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 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(-)
>