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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/i386/sev-stub.c b/target/i386/sev-stub.c
index 88e3f39a1e..c1fecc2101 100644
--- a/target/i386/sev-stub.c
+++ b/target/i386/sev-stub.c
@@ -49,3 +49,8 @@ SevCapability *sev_get_capabilities(Error **errp)
error_setg(errp, "SEV is not available in this QEMU");
return NULL;
}
+int sev_inject_launch_secret(const char *hdr, const char *secret,
+ uint64_t gpa, Error **errp)
+{
+ return 1;
+}