Re: [PATCH v2 3/3] KVM: Take gpa_t in kvm_vcpu_map[_readonly]()

Gautam Menghani
2026-04-24T08:25:58Z

On Tue, Apr 07, 2026 at 05:11:30PM -0700, Peter Fang wrote:
> Move the conversion from a gpa_t to a gfn_t into kvm_vcpu_map() and
> kvm_vcpu_map_readonly() so that they take a gpa_t directly, reducing
> boilerplate at call sites.

For this refactor, shouldn't the prototypes continue to take in gpa? I
think this was agreed in v1? [1]

Am I missing something?

[1] : https://lore.kernel.org/kvm/ac8BOGXIPMnJ7kIg@google.com/

Thanks,
Gautam