Merge tag 'bsd-user-misc-2024q2-pull-request' of gitlab.com:bsdimp/qemu into staging
[qemu/kevin.git] / hw / i386 / sgx-stub.c
blob16b1dfd90bb52a48a0a4ffcc76485d2baccf724e
1 #include "qemu/osdep.h"
2 #include "monitor/monitor.h"
3 #include "monitor/hmp-target.h"
4 #include "hw/i386/pc.h"
5 #include "hw/i386/sgx-epc.h"
6 #include "qapi/error.h"
7 #include "qapi/qapi-commands-misc-target.h"
9 void sgx_epc_build_srat(GArray *table_data)
13 SGXInfo *qmp_query_sgx(Error **errp)
15 error_setg(errp, "SGX support is not compiled in");
16 return NULL;
19 SGXInfo *qmp_query_sgx_capabilities(Error **errp)
21 error_setg(errp, "SGX support is not compiled in");
22 return NULL;
25 void hmp_info_sgx(Monitor *mon, const QDict *qdict)
27 monitor_printf(mon, "SGX is not available in this QEMU\n");
30 void pc_machine_init_sgx_epc(PCMachineState *pcms)
32 memset(&pcms->sgx_epc, 0, sizeof(SGXEPCState));
35 bool sgx_epc_get_section(int section_nr, uint64_t *addr, uint64_t *size)
37 return true;