qapi: Improve specificity of type/member descriptions
[qemu/armbru.git] / target / i386 / sev-sysemu-stub.c
blob96e1c15cc3fa13b3d0dcf542632ab4074fee3501
1 /*
2 * QEMU SEV system stub
4 * Copyright Advanced Micro Devices 2018
6 * Authors:
7 * Brijesh Singh <brijesh.singh@amd.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
14 #include "qemu/osdep.h"
15 #include "monitor/monitor.h"
16 #include "monitor/hmp-target.h"
17 #include "qapi/qapi-commands-misc-target.h"
18 #include "qapi/error.h"
19 #include "sev.h"
21 SevInfo *qmp_query_sev(Error **errp)
23 error_setg(errp, "SEV is not available in this QEMU");
24 return NULL;
27 SevLaunchMeasureInfo *qmp_query_sev_launch_measure(Error **errp)
29 error_setg(errp, "SEV is not available in this QEMU");
30 return NULL;
33 SevCapability *qmp_query_sev_capabilities(Error **errp)
35 error_setg(errp, "SEV is not available in this QEMU");
36 return NULL;
39 void qmp_sev_inject_launch_secret(const char *packet_header, const char *secret,
40 bool has_gpa, uint64_t gpa, Error **errp)
42 error_setg(errp, "SEV is not available in this QEMU");
45 int sev_encrypt_flash(uint8_t *ptr, uint64_t len, Error **errp)
47 g_assert_not_reached();
50 void sev_es_set_reset_vector(CPUState *cpu)
54 int sev_es_save_reset_vector(void *flash_ptr, uint64_t flash_size)
56 g_assert_not_reached();
59 SevAttestationReport *qmp_query_sev_attestation_report(const char *mnonce,
60 Error **errp)
62 error_setg(errp, "SEV is not available in this QEMU");
63 return NULL;
66 void hmp_info_sev(Monitor *mon, const QDict *qdict)
68 monitor_printf(mon, "SEV is not available in this QEMU\n");