diff options
author | Peter Gonda <[email protected]> | 2022-03-17 14:19:13 -0700 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-04-08 10:57:35 +0200 |
commit | e720ea52e85c9d00cf8c5769795d0a3e585524f6 (patch) | |
tree | 058f0981e21d77e80f28c6d4d4c927036a01b309 /lib/mpi/mpi-sub-ui.c | |
parent | 92a99584d965b930988b28f36d925bd9675828b3 (diff) |
x86/sev-es: Replace open-coded hlt-loop with sev_es_terminate()
Replace the halt loop in handle_vc_boot_ghcb() with an
sev_es_terminate(). The HLT gives the system no indication the guest is
unhappy. The termination request will signal there was an error during
VC handling during boot.
[ bp: Update it to pass the reason set too. ]
Signed-off-by: Peter Gonda <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Joerg Roedel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions