target/i386: Add the query-sgx-capabilities QMP command
commit0205c4fa1ea35d569b4c2f63adacef438c1e8f53
authorYang Zhong <yang.zhong@intel.com>
Fri, 10 Sep 2021 10:22:57 +0000 (10 18:22 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 30 Sep 2021 13:30:24 +0000 (30 15:30 +0200)
tree2876a4723cc5e9bb38e38c8487f46f2f71ae3af7
parent57d874c4c7a0acbaa076a166e3da093b6edbdb0f
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>
hw/i386/sgx-stub.c
hw/i386/sgx.c
include/hw/i386/sgx.h
qapi/misc-target.json
target/i386/monitor.c
tests/qtest/qmp-cmd-test.c