master
c 36 lines 986 Bytes
Raw
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 #include "qemu/osdep.h"
4 #include "qapi/error.h"
5 #include "qapi/qapi-commands-misc-i386.h"
6
7 SevInfo *qmp_query_sev(Error **errp)
8 {
9 error_setg(errp, "SEV is not available in this QEMU");
10 return NULL;
11 }
12
13 SevLaunchMeasureInfo *qmp_query_sev_launch_measure(Error **errp)
14 {
15 error_setg(errp, "SEV is not available in this QEMU");
16 return NULL;
17 }
18
19 SevCapability *qmp_query_sev_capabilities(Error **errp)
20 {
21 error_setg(errp, "SEV is not available in this QEMU");
22 return NULL;
23 }
24
25 void qmp_sev_inject_launch_secret(const char *packet_header, const char *secret,
26 bool has_gpa, uint64_t gpa, Error **errp)
27 {
28 error_setg(errp, "SEV is not available in this QEMU");
29 }
30
31 SevAttestationReport *qmp_query_sev_attestation_report(const char *mnonce,
32 Error **errp)
33 {
34 error_setg(errp, "SEV is not available in this QEMU");
35 return NULL;
36 }