aboutsummaryrefslogtreecommitdiff
path: root/target/i386/sev.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-10-07 18:17:10 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-10-13 10:47:49 +0200
commit3208de1cd23937254a456b95ef16658b68821a13 (patch)
treed718b434f10ddeaec65d8bfb1bb82e8a1260873c /target/i386/sev.h
parent02eacf31374152e6fb44554a4632f477d82dd9fc (diff)
downloadqemu-3208de1cd23937254a456b95ef16658b68821a13.zip
qemu-3208de1cd23937254a456b95ef16658b68821a13.tar.gz
qemu-3208de1cd23937254a456b95ef16658b68821a13.tar.bz2
target/i386/sev: Move qmp_query_sev_attestation_report() to sev.c
Move qmp_query_sev_attestation_report() from monitor.c to sev.c and make sev_get_attestation_report() static. We don't need the stub anymore, remove it. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211007161716.453984-18-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/sev.h')
-rw-r--r--target/i386/sev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/i386/sev.h b/target/i386/sev.h
index b628923..529a54a 100644
--- a/target/i386/sev.h
+++ b/target/i386/sev.h
@@ -52,8 +52,6 @@ extern uint32_t sev_get_cbit_position(void);
extern uint32_t sev_get_reduced_phys_bits(void);
extern char *sev_get_launch_measurement(void);
extern SevCapability *sev_get_capabilities(Error **errp);
-extern SevAttestationReport *
-sev_get_attestation_report(const char *mnonce, Error **errp);
extern bool sev_add_kernel_loader_hashes(SevKernelLoaderContext *ctx, Error **errp);
int sev_encrypt_flash(uint8_t *ptr, uint64_t len, Error **errp);