On Mon, Feb 17, 2020 at 04:29:20PM -0500, Daniel Henrique Barboza wrote:
lxcDomainSetMemoryParameters() and qemuDomainSetMemoryParameters()
has duplicated chunks of code that can be put in a new
helper.
Signed-off-by: Daniel Henrique Barboza <danielhb413(a)gmail.com>
---
src/hypervisor/domain_cgroup.c | 81 ++++++++++++++++++++++++++++++++++
src/hypervisor/domain_cgroup.h | 6 +++
src/libvirt_private.syms | 1 +
src/lxc/lxc_driver.c | 71 ++---------------------------
src/qemu/qemu_driver.c | 71 ++---------------------------
5 files changed, 96 insertions(+), 134 deletions(-)