aboutsummaryrefslogtreecommitdiff
path: root/target/i386/sev_i386.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-06-30 11:35:46 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-10 18:02:22 -0400
commite4f6278557148151e77260b872b41bcd7ceb4737 (patch)
treeb48dc66a8b91ccb5b01d509a82f40cffdd75e6ec /target/i386/sev_i386.h
parente1e43813e7908b063938a3d01f172f88f6190c80 (diff)
target/i386: sev: provide proper error reporting for query-sev-capabilities
The query-sev-capabilities was reporting errors through error_report; change it to use Error** so that the cause of the failure is clearer. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/sev_i386.h')
-rw-r--r--target/i386/sev_i386.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/sev_i386.h b/target/i386/sev_i386.h
index 8eb7de1bef..4db6960f60 100644
--- a/target/i386/sev_i386.h
+++ b/target/i386/sev_i386.h
@@ -34,6 +34,6 @@ extern SevInfo *sev_get_info(void);
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(void);
+extern SevCapability *sev_get_capabilities(Error **errp);
#endif