target/i386: Add HMP and QMP interfaces for SGX
commit57d874c4c7a0acbaa076a166e3da093b6edbdb0f
authorYang Zhong <yang.zhong@intel.com>
Fri, 10 Sep 2021 10:22:56 +0000 (10 18:22 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 30 Sep 2021 13:30:24 +0000 (30 15:30 +0200)
tree1da4da237c64d35d8dcccc32df4d73f5fd9af9f1
parentc5348c6a163f6956e7f640902b7401a1b4bad8c7
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>
hmp-commands-info.hx
hw/i386/sgx-stub.c
hw/i386/sgx.c
include/hw/i386/sgx.h [new file with mode: 0644]
include/monitor/hmp-target.h
qapi/misc-target.json
target/i386/monitor.c
tests/qtest/qmp-cmd-test.c