aboutsummaryrefslogtreecommitdiff
path: root/target/i386/sev-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/i386/sev-stub.c')
-rw-r--r--target/i386/sev-stub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/sev-stub.c b/target/i386/sev-stub.c
index 20b1e18ec1..55f1ec7419 100644
--- a/target/i386/sev-stub.c
+++ b/target/i386/sev-stub.c
@@ -54,7 +54,7 @@ int sev_inject_launch_secret(const char *hdr, const char *secret,
int sev_encrypt_flash(uint8_t *ptr, uint64_t len, Error **errp)
{
- return 0;
+ g_assert_not_reached();
}
bool sev_es_enabled(void)
@@ -68,7 +68,7 @@ void sev_es_set_reset_vector(CPUState *cpu)
int sev_es_save_reset_vector(void *flash_ptr, uint64_t flash_size)
{
- abort();
+ g_assert_not_reached();
}
SevAttestationReport *