]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/ResetVector: add the macro to request guest termination
authorBrijesh Singh via groups.io <brijesh.singh=amd.com@groups.io>
Tue, 27 Jul 2021 18:10:24 +0000 (02:10 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 29 Jul 2021 01:04:51 +0000 (01:04 +0000)
commitdc485c556d5f5db21debe8de3a45a7564aacbe24
treea78a508cbf1a0802efd982e088baf1e468f9b2b0
parent7f05102f65c959266d1fb3af6a666f403d3ed8fd
OvmfPkg/ResetVector: add the macro to request guest termination

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3275

The upcoming SEV-SNP support will need to make a few additional guest
termination requests depending on the failure type. Let's move the logic
to request the guest termination into a macro to keep the code readable.

Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Min Xu <min.m.xu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Erdem Aktas <erdemaktas@google.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Ard Biesheuvel <ardb+tianocore@kernel.org>
Suggested-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
OvmfPkg/ResetVector/Ia32/AmdSev.asm