Re: [PATCH v3] KVM: SEV: Mark nested locking of vcpu->lock

From: Peter Gonda
Date: Fri Apr 29 2022 - 13:34:20 EST


On Fri, Apr 29, 2022 at 11:32 AM Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
>
> On 4/29/22 19:27, Peter Gonda wrote:
> > Ah yes I missed that. I would suggest `role = SEV_NR_MIGRATION_ROLES`
> > or something else instead of role++ to avoid leaking this
> > implementation detail outside of the function signature / enum.
>
> Sure.

OK. I'll get that tested and get a V4 out. Thank you for all the help
here Paolo!!

>
> Paolo
>