Re: [PATCH 3/3] x86/sev: The code for returning to user space is also in syscall gap

From: Joerg Roedel
Date: Fri Dec 17 2021 - 05:06:03 EST


On Tue, Dec 14, 2021 at 10:51:27PM +0100, Borislav Petkov wrote:
> I'd expect to see here some text analyzing the couple of instructions
> between those new labels you've added and whether a #VC can happen
> there.

While it is true that the exit path can't trigger #VC right now, it will
be able with SNP.

So this change makes sense, either now or as part of the SNP-guest
patch-set.

Regards,

Joerg