qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] The HMP/QMP interfaces in Qemu SGX
@ 2021-09-08  8:19 Yang Zhong
  2021-09-08  8:19 ` [PATCH 1/7] qmp: Add query-sgx command Yang Zhong
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Yang Zhong @ 2021-09-08  8:19 UTC (permalink / raw)
  To: qemu-devel; +Cc: yang.zhong, pbonzini, eblake, seanjc

This patchset supply HMP/QMP interfaces to monitor and Libvirt, with
those interfaces, we can check the SGX info from VM side or check
host SGX capabilities from Libvirt side.

This patchset is splitted from below link(from patch26 to patch30):
https://patchew.org/QEMU/20210719112136.57018-1-yang.zhong@intel.com/

The reset are being pulled by Paolo's gitlab:
https://gitlab.com/bonzini/qemu.git tags/for-upstream

This new patchset based on <20210907071349.116329-1-pbonzini@redhat.com>, and
you can check the patches from below link:
https://github.com/intel/qemu-sgx.git monitor

As for the qtest/test-hmp test issue in last PULL, this release has fixed this issue.

Changelog:
=========
patch1~patch5:
   - Moved HMP/QMP from ./monitor to target/i386/monitor.c(Paolo)
   - Added one include/hw/i386/sgx.h to include APIs to avoid "TARGET_XXXX"
     poisoned issue in the ./qapi/qapi-types-misc-target.h.
   - Removed the stubs/sgx-stubs file for non-X86 build issues.
   - Moved the jason definitions from qapi/misc.jason to qapi/misc-target.json, and
     Changed version 6.1 to 6.2.
patch 6:
   - This new patch to fix coredump issue in non-x86 platform.
patch 7:
   - Pure cleanup patch, the issue was caused by cherry-pick tool.


Yang Zhong (7):
  qmp: Add query-sgx command
  hmp: Add 'info sgx' command
  i386: Add sgx_get_info() interface
  bitops: Support 32 and 64 bit mask macro
  qmp: Add the qmp_query_sgx_capabilities()
  monitor: Fix coredump issue in non-x86 platform
  pc: Cleanup the SGX definitions

 hmp-commands-info.hx         | 15 ++++++
 hw/i386/sgx.c                | 93 ++++++++++++++++++++++++++++++++++++
 include/hw/i386/pc.h         | 11 +++--
 include/hw/i386/sgx.h        | 12 +++++
 include/monitor/hmp-target.h |  1 +
 include/qemu/bitops.h        |  7 +++
 qapi/misc-target.json        | 61 +++++++++++++++++++++++
 target/i386/monitor.c        | 41 ++++++++++++++++
 tests/qtest/qmp-cmd-test.c   |  2 +
 9 files changed, 238 insertions(+), 5 deletions(-)
 create mode 100644 include/hw/i386/sgx.h



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2021-09-09 13:26 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08  8:19 [PATCH 0/7] The HMP/QMP interfaces in Qemu SGX Yang Zhong
2021-09-08  8:19 ` [PATCH 1/7] qmp: Add query-sgx command Yang Zhong
2021-09-08  8:19 ` [PATCH 2/7] hmp: Add 'info sgx' command Yang Zhong
2021-09-08  8:19 ` [PATCH 3/7] i386: Add sgx_get_info() interface Yang Zhong
2021-09-08  8:32   ` Philippe Mathieu-Daudé
2021-09-09  2:20     ` Yang Zhong
2021-09-08  8:55   ` Paolo Bonzini
2021-09-09  7:05     ` Yang Zhong
2021-09-08  8:19 ` [PATCH 4/7] bitops: Support 32 and 64 bit mask macro Yang Zhong
2021-09-08  8:34   ` Philippe Mathieu-Daudé
2021-09-09  2:04     ` Yang Zhong
2021-09-08  8:19 ` [PATCH 5/7] qmp: Add the qmp_query_sgx_capabilities() Yang Zhong
2021-09-08  8:38   ` Philippe Mathieu-Daudé
2021-09-09  2:51     ` Yang Zhong
2021-09-09  9:36       ` Philippe Mathieu-Daudé
2021-09-09 12:06         ` Yang Zhong
2021-09-09 13:25           ` Philippe Mathieu-Daudé
2021-09-08  8:19 ` [PATCH 6/7] monitor: Fix coredump issue in non-x86 platform Yang Zhong
2021-09-08  8:53   ` Philippe Mathieu-Daudé
2021-09-08  8:54   ` Paolo Bonzini
2021-09-09  6:48     ` Yang Zhong
2021-09-08  8:19 ` [PATCH 7/7] pc: Cleanup the SGX definitions Yang Zhong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).