On Thu, Oct 3, 2019 at 2:17 PM Lendacky, Thomas <thomas.lenda...@amd.com> wrote:
>
> From: Tom Lendacky <thomas.lenda...@amd.com>
>
> The SEV ASID bitmap currently is not protected against parallel SEV guest
> startups. This can result in an SEV guest failing to start because another
> SEV guest could have been assigned the same ASID value. Use a mutex to
> serialize access to the SEV ASID bitmap.
>
> Fixes: 1654efcbc431 ("KVM: SVM: Add KVM_SEV_INIT command")
> Tested-by: David Rientjes <rient...@google.com>
> Signed-off-by: Tom Lendacky <thomas.lenda...@amd.com>
Reviewed-by: Jim Mattson <jmatt...@google.com>

Reply via email to