target/i386: Add the query-sgx-capabilities QMP command
Libvirt can use query-sgx-capabilities to get the host sgx capabilities to decide how to allocate SGX EPC size to VM. Signed-off-by:Yang Zhong <yang.zhong@intel.com> Message-Id: <20210910102258.46648-3-yang.zhong@intel.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- hw/i386/sgx-stub.c 6 additions, 0 deletionshw/i386/sgx-stub.c
- hw/i386/sgx.c 66 additions, 0 deletionshw/i386/sgx.c
- include/hw/i386/sgx.h 1 addition, 0 deletionsinclude/hw/i386/sgx.h
- qapi/misc-target.json 18 additions, 0 deletionsqapi/misc-target.json
- target/i386/monitor.c 5 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