On Wed, Sep 08, 2021 at 10:55:13AM +0200, Paolo Bonzini wrote:
> On 08/09/21 10:19, Yang Zhong wrote:
> >+if (x86ms->sgx_epc_list) {
> >+PCMachineState *pcms = PC_MACHINE(ms);
> >+SGXEPCState *sgx_epc = &pcms->sgx_epc;
> >+info = g_new0(SGXInfo, 1);
> >+
> >+info
On Wed, Sep 08, 2021 at 10:32:27AM +0200, Philippe Mathieu-Daudé wrote:
> On 9/8/21 10:19 AM, Yang Zhong wrote:
> > Add the sgx_get_info() interface for hmp and QMP usage, which
> > will get the SGX info from this API.
> >
> > Signed-off-by: Yang Zhong
> > ---
> > hw/i386/sgx.c | 21
On 08/09/21 10:19, Yang Zhong wrote:
+if (x86ms->sgx_epc_list) {
+PCMachineState *pcms = PC_MACHINE(ms);
+SGXEPCState *sgx_epc = &pcms->sgx_epc;
+info = g_new0(SGXInfo, 1);
+
+info->sgx = true;
+info->sgx1 = true;
+info->sgx2 = true;
+in
On 9/8/21 10:19 AM, Yang Zhong wrote:
> Add the sgx_get_info() interface for hmp and QMP usage, which
> will get the SGX info from this API.
>
> Signed-off-by: Yang Zhong
> ---
> hw/i386/sgx.c | 21 +
> include/hw/i386/sgx.h | 11 +++
> target/i386/monitor.c |
Add the sgx_get_info() interface for hmp and QMP usage, which
will get the SGX info from this API.
Signed-off-by: Yang Zhong
---
hw/i386/sgx.c | 21 +
include/hw/i386/sgx.h | 11 +++
target/i386/monitor.c | 32
3 files changed,