target/i386: Add HMP and QMP interfaces for SGX
The QMP and HMP interfaces can be used by monitor or QMP tools to retrieve the SGX information from VM side when SGX is enabled on Intel platform. Signed-off-by:Yang Zhong <yang.zhong@intel.com> Message-Id: <20210910102258.46648-2-yang.zhong@intel.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- hmp-commands-info.hx 15 additions, 0 deletionshmp-commands-info.hx
- hw/i386/sgx-stub.c 7 additions, 0 deletionshw/i386/sgx-stub.c
- hw/i386/sgx.c 31 additions, 0 deletionshw/i386/sgx.c
- include/hw/i386/sgx.h 11 additions, 0 deletionsinclude/hw/i386/sgx.h
- include/monitor/hmp-target.h 1 addition, 0 deletionsinclude/monitor/hmp-target.h
- qapi/misc-target.json 43 additions, 0 deletionsqapi/misc-target.json
- target/i386/monitor.c 27 additions, 0 deletionstarget/i386/monitor.c
- tests/qtest/qmp-cmd-test.c 1 addition, 0 deletionstests/qtest/qmp-cmd-test.c
Loading
Please register or sign in to comment