aboutsummaryrefslogtreecommitdiff
path: root/target/i386/sev-stub.c
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2018-03-08 06:49:00 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2018-03-13 17:36:06 +0100
commit9f750794985d7386f088da941c76b73880b2b6c4 (patch)
tree926f1af83161267bf631bddd7ef7114956e900f0 /target/i386/sev-stub.c
parent31dd67f684c862303cf3bb18dba10567bc35e0ab (diff)
sev/i386: add sev_get_capabilities()
The function can be used to get the current SEV capabilities. The capabilities include platform diffie-hellman key (pdh) and certificate chain. The key can be provided to the external entities which wants to establish a trusted channel between SEV firmware and guest owner. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
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 2f61c32ec9..59a003a4eb 100644
--- a/target/i386/sev-stub.c
+++ b/target/i386/sev-stub.c
@@ -44,3 +44,8 @@ char *sev_get_launch_measurement(void)
{
return NULL;
}
+
+SevCapability *sev_get_capabilities(void)
+{
+ return NULL;
+}