All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v18 00/14] Add support for binding guest numa nodes to host numa nodes
@ 2014-02-19  7:53 Hu Tao
  2014-02-19  7:53 ` [Qemu-devel] [PATCH v18 01/14] NUMA: move numa related code to new file numa.c Hu Tao
                   ` (13 more replies)
  0 siblings, 14 replies; 53+ messages in thread
From: Hu Tao @ 2014-02-19  7:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, lersek, Wanlong Gao, imammedo

The major change from v17 is the patchset is now based on memory backend.
Example command line:

./x86_64-softmmu/qemu-system-x86_64 -hda /path/to/image.img -smp 2 \
   -object memory-ram,size=512M,host-nodes=1,policy=membind,id=ram-node0 \
   -numa node,nodeid=0,cpus=0,memdev=ram-node0 \
   -object memory-ram,size=1024M,host-nodes=2-3,policy=interleave,id=ram-node1 \
   -numa node,nodeid=1,cpus=1,memdev=ram-node1 \
   -m 1536M

There are some minor problems but I'd like to see if there are any problems in the
general direction. Your comments are welcome!

v17: https://lists.gnu.org/archive/html/qemu-devel/2013-12/msg00568.html

Hu Tao (4):
  add memdev backend infrastructure
  visitor uint16list
  add memory backend ram field
  add query-memdev

Igor Mammedov (1):
  qapi: add SIZE type parser to string_input_visitor

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 (6):
  NUMA: move numa related code to new file numa.c
  NUMA: check if the total numa memory size is equal to ram_size
  NUMA: Add numa_info structure to contain numa nodes info
  NUMA: convert -numa option to use OptsVisitor
  NUMA: expand MAX_NODES from 64 to 128
  qapi: add HostMemPolicy enum type

 Makefile.target                   |   2 +-
 backends/Makefile.objs            |   2 +
 backends/hostmem-ram.c            | 261 ++++++++++++++++++++++++++++++++++++++
 backends/hostmem.c                | 125 ++++++++++++++++++
 cpus.c                            |  14 --
 hw/i386/pc.c                      |  27 ++--
 hw/i386/pc_piix.c                 |   8 +-
 hw/i386/pc_q35.c                  |   4 +-
 include/hw/i386/pc.h              |   7 +-
 include/sysemu/cpus.h             |   1 -
 include/sysemu/hostmem.h          |  63 +++++++++
 include/sysemu/sysemu.h           |  23 +++-
 monitor.c                         |   2 +-
 numa.c                            | 260 +++++++++++++++++++++++++++++++++++++
 qapi-schema.json                  |  85 +++++++++++++
 qapi/string-input-visitor.c       | 178 +++++++++++++++++++++++++-
 qmp-commands.hx                   |  30 +++++
 tests/test-string-input-visitor.c |  22 ++++
 vl.c                              | 155 ++--------------------
 19 files changed, 1076 insertions(+), 193 deletions(-)
 create mode 100644 backends/hostmem-ram.c
 create mode 100644 backends/hostmem.c
 create mode 100644 include/sysemu/hostmem.h
 create mode 100644 numa.c

-- 
1.8.5.2.229.g4448466

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

end of thread, other threads:[~2014-03-04  2:22 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-19  7:53 [Qemu-devel] [PATCH v18 00/14] Add support for binding guest numa nodes to host numa nodes Hu Tao
2014-02-19  7:53 ` [Qemu-devel] [PATCH v18 01/14] NUMA: move numa related code to new file numa.c Hu Tao
2014-02-19  7:53 ` [Qemu-devel] [PATCH v18 02/14] NUMA: check if the total numa memory size is equal to ram_size Hu Tao
2014-02-25 13:38   ` Eric Blake
2014-02-19  7:53 ` [Qemu-devel] [PATCH v18 03/14] NUMA: Add numa_info structure to contain numa nodes info Hu Tao
2014-02-19  9:26   ` Igor Mammedov
2014-02-21  2:54     ` hu tao
2014-02-19  7:53 ` [Qemu-devel] [PATCH v18 04/14] NUMA: convert -numa option to use OptsVisitor Hu Tao
2014-02-19  7:53 ` [Qemu-devel] [PATCH v18 05/14] NUMA: expand MAX_NODES from 64 to 128 Hu Tao
2014-02-19  7:53 ` [Qemu-devel] [PATCH v18 06/14] qapi: add SIZE type parser to string_input_visitor Hu Tao
2014-02-19  9:54   ` Igor Mammedov
2014-02-19  7:53 ` [Qemu-devel] [PATCH v18 07/14] add memdev backend infrastructure Hu Tao
2014-02-19  9:15   ` Igor Mammedov
2014-02-19  7:53 ` [Qemu-devel] [PATCH v18 08/14] pc: pass QEMUMachineInitArgs to pc_memory_init Hu Tao
2014-02-19  7:54 ` [Qemu-devel] [PATCH v18 09/14] numa: introduce memory_region_allocate_system_memory Hu Tao
2014-02-19  7:54 ` [Qemu-devel] [PATCH v18 10/14] numa: add -numa node, memdev= option Hu Tao
2014-02-19  9:50   ` Igor Mammedov
2014-02-19 11:53     ` Paolo Bonzini
2014-03-04  0:10   ` Eric Blake
2014-03-04  2:20     ` Hu Tao
2014-02-19  7:54 ` [Qemu-devel] [PATCH v18 11/14] qapi: make string input visitor parse int list Hu Tao
2014-02-19  8:17   ` Hu Tao
2014-02-19  8:42     ` Paolo Bonzini
2014-02-19  7:54 ` [Qemu-devel] [PATCH v18 12/14] qapi: add HostMemPolicy enum type Hu Tao
2014-02-19  9:08   ` Paolo Bonzini
2014-02-19 11:23   ` Igor Mammedov
2014-02-19  7:54 ` [Qemu-devel] [PATCH v18 13/14] memory backend: fill memory backend ram fields Hu Tao
2014-02-19  9:03   ` Paolo Bonzini
2014-02-19  9:36     ` Igor Mammedov
2014-02-25 10:20       ` Hu Tao
2014-02-25 14:15         ` Paolo Bonzini
2014-02-26  5:00           ` Hu Tao
2014-02-26  8:47             ` Igor Mammedov
2014-02-26  8:59               ` Hu Tao
2014-02-26 12:19                 ` Igor Mammedov
2014-02-26 11:22               ` Paolo Bonzini
2014-02-26  5:57       ` Hu Tao
2014-02-26  9:05         ` Paolo Bonzini
2014-02-26  9:10         ` Igor Mammedov
2014-02-26 10:33           ` Paolo Bonzini
2014-02-26 12:31             ` Igor Mammedov
2014-02-26 12:45               ` Paolo Bonzini
2014-02-26 12:58                 ` Marcelo Tosatti
2014-02-26 13:14                   ` Paolo Bonzini
2014-02-26 13:43                 ` Igor Mammedov
2014-02-26 13:47                   ` Paolo Bonzini
2014-02-26 14:25                     ` Igor Mammedov
2014-02-26 14:39                       ` Paolo Bonzini
2014-02-25 10:09     ` Hu Tao
2014-03-03  3:24       ` Hu Tao
2014-02-19  7:54 ` [Qemu-devel] [PATCH v18 14/14] amp: add query-memdev Hu Tao
2014-02-19  8:14   ` Hu Tao
2014-02-19  9:07   ` Paolo Bonzini

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.