[libvirt] [PATCH 0/8] qemu: Fix current ballooned size after memory hot(un)plug

John Ferlan jferlan at redhat.com
Thu Apr 14 18:35:11 UTC 2016



On 04/06/2016 12:02 PM, Peter Krempa wrote:
> Clean up some of the memory balloon code and fix the calculation of size after
> hotplug.
> 
> Peter Krempa (8):
>   qemu: command: Assume QEMU_CAPS_DEVICE when building memballoon args
>   qemu: caps: Deprecate QEMU_CAPS_BALLOON
>   qemu: command: Drop obsolete comment
>   qemu: command: Refactor memballoon command line formatting
>   qemu: domain: Add helper to determine presence of memory baloon
>   qemu: driver: Reuse qemuDomainGetMonitor in qemuDomainMemoryStats
>   qemu: process: Simplify condition in qemuProcessRefreshBalloonState
>   qemu: hotplug: Properly recalculate/reload balloon size after
>     hot(un)plug
> 
>  src/qemu/qemu_capabilities.c                  |  3 -
>  src/qemu/qemu_capabilities.h                  |  2 +-
>  src/qemu/qemu_command.c                       | 83 +++++++++------------------
>  src/qemu/qemu_command.h                       |  4 --
>  src/qemu/qemu_domain.c                        | 11 +++-
>  src/qemu/qemu_domain.h                        |  1 +
>  src/qemu/qemu_driver.c                        | 16 ++----
>  src/qemu/qemu_hotplug.c                       | 15 ++---
>  src/qemu/qemu_process.c                       | 16 ++----
>  src/qemu/qemu_process.h                       |  4 ++
>  tests/qemucapabilitiesdata/caps_1.2.2-1.caps  |  1 -
>  tests/qemucapabilitiesdata/caps_1.3.1-1.caps  |  1 -
>  tests/qemucapabilitiesdata/caps_1.4.2-1.caps  |  1 -
>  tests/qemucapabilitiesdata/caps_1.5.3-1.caps  |  1 -
>  tests/qemucapabilitiesdata/caps_1.6.0-1.caps  |  1 -
>  tests/qemucapabilitiesdata/caps_1.6.50-1.caps |  1 -
>  tests/qemucapabilitiesdata/caps_2.1.1-1.caps  |  1 -
>  tests/qemucapabilitiesdata/caps_2.4.0-1.caps  |  1 -
>  tests/qemucapabilitiesdata/caps_2.5.0-1.caps  |  1 -
>  tests/qemucapabilitiesdata/caps_2.6.0-1.caps  |  1 -
>  tests/qemuhelptest.c                          |  8 ---
>  21 files changed, 59 insertions(+), 114 deletions(-)
> 

ACK series modulo patch 5 which I think needs a couple adjustments.

John




More information about the libvir-list mailing list