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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 setting maximum memory size with the API with NUMA
    enabled
  qemu: lxc: Clarify error message when setting current memory
  conf: Replace access to def->mem.max_balloon with accessor functions
  phyp: Fix error messages mentioning memory
  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                             | 72 +++++++++++++++++++---
 src/conf/domain_conf.h                             |  4 ++
 src/conf/numa_conf.c                               | 13 ++++
 src/conf/numa_conf.h                               |  2 +
 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                               | 28 +++++----
 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                             | 15 +++--
 src/qemu/qemu_command.c                            | 23 ++++---
 src/qemu/qemu_domain.c                             | 21 +++++++
 src/qemu/qemu_domain.h                             |  2 +
 src/qemu/qemu_driver.c                             | 49 ++++++++++-----
 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, 243 insertions(+), 111 deletions(-)

-- 
2.2.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]