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

From: Paolo Bonzini
Date: Fri Apr 29 2022 - 13:33:07 EST


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.

Paolo