[libvirt] [PATCH 0/2] conf: Tweak how we calculate memory sizes

Peter Krempa pkrempa at redhat.com
Wed Jun 15 13:56:07 UTC 2016


Patches that allowed to use memory hotplug without NUMA introduced a problem 
where the size in <memory> wouldn't be right after memory cold unplug.

See patch 1/2 for explanation.

Peter Krempa (2):
  conf: Remove pre-calculation of initial memory size
  conf: Rename virDomainDefGetMemoryActual to virDomainDefGetMemoryTotal

 src/bhyve/bhyve_driver.c   |   2 +-
 src/conf/domain_audit.c    |   2 +-
 src/conf/domain_conf.c     | 103 ++++++++++++++++++++++++---------------------
 src/conf/domain_conf.h     |   5 +--
 src/libvirt_private.syms   |   3 +-
 src/libxl/libxl_driver.c   |   6 +--
 src/lxc/lxc_driver.c       |  10 ++---
 src/lxc/lxc_fuse.c         |   6 +--
 src/openvz/openvz_driver.c |   2 +-
 src/qemu/qemu_domain.c     |  12 +++---
 src/qemu/qemu_driver.c     |  16 +++----
 src/qemu/qemu_hotplug.c    |   4 +-
 src/qemu/qemu_process.c    |   4 +-
 src/test/test_driver.c     |   6 +--
 src/uml/uml_driver.c       |   6 +--
 src/vmware/vmware_driver.c |   2 +-
 src/vmx/vmx.c              |  10 ++---
 src/vz/vz_driver.c         |   4 +-
 src/vz/vz_sdk.c            |   6 +--
 src/xen/xm_internal.c      |   8 ++--
 src/xenapi/xenapi_utils.c  |   4 +-
 src/xenconfig/xen_common.c |   2 +-
 src/xenconfig/xen_sxpr.c   |   6 +--
 23 files changed, 116 insertions(+), 113 deletions(-)

-- 
2.8.3




More information about the libvir-list mailing list