From: Hu Tao <hutao@cn.fujitsu.com>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, gaowanlong@cn.fujitsu.com, imammedo@redhat.com
Subject: [Qemu-devel] [PATCH v19 00/11] Add support for binding guest numa nodes to host numa nodes
Date: Tue, 4 Mar 2014 15:28:14 +0800 [thread overview]
Message-ID: <cover.1393917248.git.hutao@cn.fujitsu.com> (raw)
Based on series `convert -numa to QemuOpts/OptsVisitor' posted by Igor
at http://lists.nongnu.org/archive/html/qemu-devel/2014-02/msg02801.html.
You can also checkout this series out at
https://github.com/taohu/qemu/tree/numa-binding-v19, including all
required patches.
changes in v19:
- use complete() method of user_creatable in memdev backend
- implement qmp query-memdev by walking through
numa_info[...].node_memdev and using object_property_get
to get information as suggested by Paolo
- implement info memdev
- drop ram_backend->relative
- make string output visitor parse int list
- introduce libnuma
Hu Tao (5):
qapi: make string input visitor parse int list
qapi: make string output visitor parse int list
hostmem backend: implement memory policy
qmp: add query-memdev
hmp: add info memdev
Igor Mammedov (2):
object_add: allow completion handler to get canonical path
add memdev backend infrastructure
Paolo Bonzini (3):
pc: pass QEMUMachineInitArgs to pc_memory_init
numa: introduce memory_region_allocate_system_memory
numa: add -numa node,memdev= option
Wanlong Gao (1):
Add detection of libnuma (mostly contained in the numactl package)
to the configure script. Can be enabled or disabled on the command
line, default is use if available.
backends/Makefile.objs | 2 +
backends/hostmem-ram.c | 77 ++++++++++++++
backends/hostmem.c | 202 +++++++++++++++++++++++++++++++++++++
configure | 33 ++++++
hmp.c | 27 +++++
hmp.h | 1 +
hw/i386/pc.c | 15 ++-
hw/i386/pc_piix.c | 8 +-
hw/i386/pc_q35.c | 4 +-
include/hw/i386/pc.h | 7 +-
include/sysemu/hostmem.h | 64 ++++++++++++
include/sysemu/sysemu.h | 8 ++
monitor.c | 7 ++
numa.c | 133 ++++++++++++++++++++++++
qapi-schema.json | 57 ++++++++++-
qapi/string-input-visitor.c | 160 +++++++++++++++++++++++++++--
qapi/string-output-visitor.c | 156 +++++++++++++++++++++++++++-
qmp-commands.hx | 32 ++++++
qmp.c | 8 +-
tests/test-string-input-visitor.c | 21 ++++
tests/test-string-output-visitor.c | 26 +++++
vl.c | 9 +-
22 files changed, 1017 insertions(+), 40 deletions(-)
create mode 100644 backends/hostmem-ram.c
create mode 100644 backends/hostmem.c
create mode 100644 include/sysemu/hostmem.h
--
1.8.5.2.229.g4448466
next reply other threads:[~2014-03-04 7:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 7:28 Hu Tao [this message]
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 01/11] object_add: allow completion handler to get canonical path Hu Tao
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 02/11] add memdev backend infrastructure Hu Tao
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 03/11] pc: pass QEMUMachineInitArgs to pc_memory_init Hu Tao
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 04/11] numa: introduce memory_region_allocate_system_memory Hu Tao
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 05/11] numa: add -numa node, memdev= option Hu Tao
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 06/11] qapi: make string input visitor parse int list Hu Tao
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 07/11] qapi: make string output " Hu Tao
2014-03-04 9:03 ` Paolo Bonzini
2014-03-04 9:23 ` Hu Tao
2014-03-04 9:33 ` Paolo Bonzini
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 08/11] Add Linux libnuma detection Hu Tao
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 09/11] hostmem backend: implement memory policy Hu Tao
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 10/11] qmp: add query-memdev Hu Tao
2014-03-04 7:28 ` [Qemu-devel] [PATCH v19 11/11] hmp: add info memdev Hu Tao
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=cover.1393917248.git.hutao@cn.fujitsu.com \
--to=hutao@cn.fujitsu.com \
--cc=gaowanlong@cn.fujitsu.com \
--cc=imammedo@redhat.com \
--cc=pbonzini@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).