Enable DebugSwap for a VMSA but only do so if CPUID Fn80000021_EAX[0] ("NoNestedDataBp", "Processor ignores nested data breakpoints") is supported by the SOC as otherwise a malicious SEV-ES guest can set up data breakpoints on the #DB IDT entry/stack and cause an infinite loop.You mean #DB => #BP here
Indeed its #DB. Was thinking something else. Reviewed-by: Pankaj Gupta <pankaj.gupta@xxxxxxx>