The latest AMD SEV-SNP patch series for SEV-SNP enables the sev_features DEBUG_SWAP bit which delegates debug exceptions to the host rather than the guest VC handler. This patch adds a DB_VECTOR handler to allow these exceptions to be handled by the gdb stub when DEBUG_SWAP is set.
The latest AMD SEV-SNP patch series for SEV-SNP enables the sev_features DEBUG_SWAP bit which delegates debug exceptions to the host rather than the guest VC handler. This patch adds a DB_VECTOR handler to allow these exceptions to be handled by the gdb stub when DEBUG_SWAP is set.