Re: [PATCH v3 11/18] KVM: arm64: Introduce __pkvm_host_unshare_guest()

From: Fuad Tabba
Date: Tue Dec 17 2024 - 08:28:15 EST


On Tue, 17 Dec 2024 at 13:14, Quentin Perret <qperret@xxxxxxxxxx> wrote:
>
> On Tuesday 17 Dec 2024 at 08:53:34 (+0000), Fuad Tabba wrote:
> > nit: This parameter in this patch, and others, is sometimes hyp_vm, at
> > others just vm. It would be nicer if it was always the same.
>
> Argh, where specifically do you see inconsistencies? All changes to
> mem_protect.c should use 'vm' consistently in this series now.
>
> The code in hyp-main.c does use 'hyp_vm' consistently however, but
> perhaps that is what you meant? I did that to follow the pattern of the
> existing code that uses 'hyp_vcpu' in that file.

You're right, my bad. I was looking at the code in the patch, not in
the files. Sorry for the noise.
/fuad

> Thanks!
> Quentin