[libvirt] [PATCH 0/7] Automaticaly fill <memory> element for NUMA enabled guests

Peter Krempa pkrempa at redhat.com
Wed Feb 18 14:16:40 UTC 2015


Conclusion of the memory refactoring series. These patches depend on the two
previous series and for convenience can be fetched at:

git fetch git://pipo.sk/pipo/libvirt.git/ memory-refactors

This series changes the behavior of the <memory> element in case the guest has
NUMA enabled and fills automatically the sum of sizes of numa nodes instead of
relying on the user passing correct data.

Peter Krempa (7):
  qemu: Forbid seting maximum memory size with the API with NUMA enabled
  qemu: lxc: Clarify error message when setting current memory
  conf: Hoist validation of memory size into the post parse callback
  conf: Replace access to def-mem.max_balloon with accessor functions
  qemu: command: Add helper to align memory sizes
  conf: numa: Add helper to count total memory size configured in NUMA
  conf: Automatically use NUMA memory size in case NUMA is enabled

 src/conf/domain_conf.c                             | 101 ++++++++++++++++-----
 src/conf/domain_conf.h                             |   4 +
 src/conf/numa_conf.c                               |  13 +++
 src/conf/numa_conf.h                               |   1 +
 src/hyperv/hyperv_driver.c                         |   2 +-
 src/libvirt_private.syms                           |   4 +
 src/libxl/libxl_conf.c                             |   2 +-
 src/libxl/libxl_driver.c                           |   8 +-
 src/lxc/lxc_cgroup.c                               |   2 +-
 src/lxc/lxc_driver.c                               |  27 +++---
 src/lxc/lxc_fuse.c                                 |   4 +-
 src/lxc/lxc_native.c                               |   4 +-
 src/openvz/openvz_driver.c                         |   2 +-
 src/parallels/parallels_driver.c                   |   2 +-
 src/parallels/parallels_sdk.c                      |  12 +--
 src/phyp/phyp_driver.c                             |  11 ++-
 src/qemu/qemu_command.c                            |  23 +++--
 src/qemu/qemu_domain.c                             |  21 +++++
 src/qemu/qemu_domain.h                             |   2 +
 src/qemu/qemu_driver.c                             |  44 +++++----
 src/qemu/qemu_hotplug.c                            |   8 +-
 src/qemu/qemu_process.c                            |   2 +-
 src/test/test_driver.c                             |   8 +-
 src/uml/uml_driver.c                               |   8 +-
 src/vbox/vbox_common.c                             |   4 +-
 src/vmware/vmware_driver.c                         |   2 +-
 src/vmx/vmx.c                                      |  12 +--
 src/xen/xm_internal.c                              |  14 +--
 src/xenapi/xenapi_driver.c                         |   2 +-
 src/xenapi/xenapi_utils.c                          |   4 +-
 src/xenconfig/xen_common.c                         |   8 +-
 src/xenconfig/xen_sxpr.c                           |   9 +-
 .../qemuxml2argv-numatune-memnode.args             |   2 +-
 33 files changed, 248 insertions(+), 124 deletions(-)

-- 
2.2.2




More information about the libvir-list mailing list