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

Gautam Menghani gautam at linux.ibm.com
Fri Apr 24 18:25:18 AEST 2026


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


More information about the Linuxppc-dev mailing list