diff options
| author | Yang Zhong | 2021-09-10 12:22:56 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2021-09-30 15:30:24 +0200 |
| commit | 57d874c4c7a0acbaa076a166e3da093b6edbdb0f (patch) | |
| tree | 1da4da237c64d35d8dcccc32df4d73f5fd9af9f1 /include/hw | |
| parent | docs/system: Add SGX documentation to the system manual (diff) | |
| download | qemu-57d874c4c7a0acbaa076a166e3da093b6edbdb0f.tar.gz qemu-57d874c4c7a0acbaa076a166e3da093b6edbdb0f.tar.xz qemu-57d874c4c7a0acbaa076a166e3da093b6edbdb0f.zip | |
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>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/i386/sgx.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/hw/i386/sgx.h b/include/hw/i386/sgx.h new file mode 100644 index 0000000000..2bf90b3f4f --- /dev/null +++ b/include/hw/i386/sgx.h @@ -0,0 +1,11 @@ +#ifndef QEMU_SGX_H +#define QEMU_SGX_H + +#include "qom/object.h" +#include "qapi/error.h" +#include "qemu/error-report.h" +#include "qapi/qapi-types-misc-target.h" + +SGXInfo *sgx_get_info(Error **errp); + +#endif |
