qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Yang Zhong <yang.zhong@intel.com>
To: qemu-devel@nongnu.org
Cc: yang.zhong@intel.com, pbonzini@redhat.com, eblake@redhat.com,
	philmd@redhat.com
Subject: [PATCH 0/6] SGX NUMA support
Date: Mon, 11 Oct 2021 19:15:48 +0800	[thread overview]
Message-ID: <20211011111554.12403-1-yang.zhong@intel.com> (raw)

The basic SGX patches were merged into Qemu release, the left NUMA
function for SGX should be enabled. The patch1 implemented the SGX NUMA
ACPI to enable NUMA in the SGX guest. Since Libvirt need detailed host
SGX EPC sections info to decide how to allocate EPC sections for SGX NUMA
guest, the SGXEPCSection list is introduced to show detailed sections info
in the monitor or HMP interface.

Please help review this patchset, the link also can be found:
https://github.com/intel/qemu-sgx upstream


Yang Zhong (6):
  numa: Enable numa for SGX EPC sections
  monitor: Support 'info numa' command
  numa: Add SGXEPCSection list for multiple sections
  monitor: numa support for 'info sgx' command
  numa: Enable numa for libvirt interface
  doc: Add the SGX numa description

 docs/system/i386/sgx.rst  | 31 +++++++++++++--
 qapi/machine.json         |  6 ++-
 qapi/misc-target.json     | 19 ++++++++-
 include/hw/i386/sgx-epc.h |  3 ++
 hw/core/numa.c            |  6 +++
 hw/i386/acpi-build.c      |  4 ++
 hw/i386/sgx-epc.c         |  3 ++
 hw/i386/sgx.c             | 84 +++++++++++++++++++++++++++++++++++----
 monitor/hmp-cmds.c        |  1 +
 target/i386/monitor.c     | 11 ++++-
 qemu-options.hx           |  4 +-
 11 files changed, 154 insertions(+), 18 deletions(-)



             reply	other threads:[~2021-10-11 11:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-11 11:15 Yang Zhong [this message]
2021-10-11 11:15 ` [PATCH 1/6] numa: Enable numa for SGX EPC sections Yang Zhong
2021-10-11 16:32   ` Eric Blake
2021-10-20  7:02     ` Yang Zhong
2021-10-11 11:15 ` [PATCH 2/6] monitor: Support 'info numa' command Yang Zhong
2021-10-11 11:15 ` [PATCH 3/6] numa: Add SGXEPCSection list for multiple sections Yang Zhong
2021-10-11 17:03   ` Eric Blake
2021-10-12 11:01     ` Paolo Bonzini
2021-10-20  8:06     ` Yang Zhong
2021-10-12 11:01   ` Paolo Bonzini
2021-10-20  8:08     ` Yang Zhong
2021-10-11 11:15 ` [PATCH 4/6] monitor: numa support for 'info sgx' command Yang Zhong
2021-10-12 10:59   ` Paolo Bonzini
2021-10-20  7:08     ` Yang Zhong
2021-10-11 11:15 ` [PATCH 5/6] numa: Enable numa for libvirt interface Yang Zhong
2021-10-12 10:59   ` Paolo Bonzini
2021-10-11 11:15 ` [PATCH 6/6] doc: Add the SGX numa description Yang Zhong

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=20211011111554.12403-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 \
    /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 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).