From: Yang Zhong <yang.zhong@intel.com>
To: qemu-devel@nongnu.org
Cc: yang.zhong@intel.com, pbonzini@redhat.com, philmd@redhat.com,
eblake@redhat.com, seanjc@google.com
Subject: [PATCH v2 0/3] The HMP/QMP interfaces in Qemu SGX
Date: Fri, 10 Sep 2021 18:22:55 +0800 [thread overview]
Message-ID: <20210910102258.46648-1-yang.zhong@intel.com> (raw)
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 rest patches are being pulled by Paolo's below link and this new
patchset is based on it.
https://gitlab.com/bonzini/qemu.git tags/for-upstream
Changelog:
=========
v1-->v2:
- Squashed patch1~patch3 to new patch1(Philippe).
- Removed the bitops definitions patch, and used the MAKE_64BIT_MASK()
to handle(Philippe).
- Removed the 'Fix coredump issue in non-x86 platform' patch and new
fix in the sgx_get_info()(Paolo).
Qemu SGX-->v1:
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 (3):
monitor: Add HMP and QMP interfaces
qmp: Add the qmp_query_sgx_capabilities()
pc: Cleanup the SGX definitions
hmp-commands-info.hx | 15 ++++++
hw/i386/sgx.c | 95 ++++++++++++++++++++++++++++++++++++
include/hw/i386/pc.h | 11 +++--
include/hw/i386/sgx.h | 12 +++++
include/monitor/hmp-target.h | 1 +
qapi/misc-target.json | 61 +++++++++++++++++++++++
target/i386/monitor.c | 41 ++++++++++++++++
tests/qtest/qmp-cmd-test.c | 2 +
8 files changed, 233 insertions(+), 5 deletions(-)
create mode 100644 include/hw/i386/sgx.h
next reply other threads:[~2021-09-10 10:30 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-10 10:22 Yang Zhong [this message]
2021-09-10 10:22 ` [PATCH v2 1/3] monitor: Add HMP and QMP interfaces Yang Zhong
2021-09-10 12:39 ` Philippe Mathieu-Daudé
2021-09-13 10:37 ` Yang Zhong
2021-09-13 12:42 ` Paolo Bonzini
2021-09-10 13:46 ` Daniel P. Berrangé
2021-09-13 9:35 ` Daniel P. Berrangé
2021-09-13 10:46 ` Yang Zhong
2021-09-13 12:48 ` Paolo Bonzini
2021-09-13 12:56 ` Daniel P. Berrangé
2021-09-13 12:52 ` Yang Zhong
2021-09-13 13:24 ` Daniel P. Berrangé
2021-09-16 6:14 ` Yang Zhong
2021-09-10 10:22 ` [PATCH v2 2/3] qmp: Add the qmp_query_sgx_capabilities() Yang Zhong
2021-09-10 12:41 ` Philippe Mathieu-Daudé
2021-09-13 10:34 ` Yang Zhong
2021-09-10 10:22 ` [PATCH v2 3/3] pc: Cleanup the SGX definitions Yang Zhong
2021-09-10 14:15 ` [PATCH v2 0/3] The HMP/QMP interfaces in Qemu SGX Paolo Bonzini
2021-09-10 14:21 ` Daniel P. Berrangé
2021-09-10 19:10 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210910102258.46648-1-yang.zhong@intel.com \
--to=yang.zhong@intel.com \
--cc=eblake@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=seanjc@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.