Re: [PATCH kernel v3 3/3] x86/sev: Do not handle #VC for DR7 read/write

From: Alexey Kardashevskiy
Date: Tue Jan 24 2023 - 07:38:16 EST




On 24/1/23 21:37, Nikunj A. Dadhania wrote:>> It is MSR_AMD64_SEV_DEBUG_SWAP (SEV, not SNP), it is an SEV-ES thing.> Yes, noticed that, earlier analysis was that Debug Swap shouldn't need any guest side changes, but it does need it.>>> Why is that feature negotiation SNP-only and not SEV?> > As per the spec, GHCB termination request: reason code: 0x2 is SNP features specific.
Does the guest really need to terminate in such case? A VM could just not do the GHCB thing if it does not want to.


--
Alexey