Re: [PATCH v2 0/4] qemu: Add support for free-page-reporting

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

 



On 10/13/20 1:35 AM, Nico Pache wrote:
gitlab issue: https://gitlab.com/libvirt/libvirt/-/issues/79

The virtio-balloon device now has the ability to report free pages
back to the hypervisor for reuse by other programs.

This kernel feature allows for more stable and resource friendly systems.

This feature is available in QEMU and is enabled with free-page-reporting=on
default virt setting should be off but the user should be able to enable it.

Nico Pache (4):
   Document and parser support for the Virtio free page reporting
     feature.
   QEMU: declare qemu capabilities for the Virtio Free page reporting
     feature
   QEMU: introduce Virtio free page reporting feature
   provide testing for free-page-reporting feature in QEMU

  docs/formatdomain.rst                         |  6 ++++
  docs/schemas/domaincommon.rng                 |  5 +++
  src/conf/domain_conf.c                        | 21 +++++++++++
  src/conf/domain_conf.h                        |  1 +
  src/qemu/qemu_capabilities.c                  |  2 ++
  src/qemu/qemu_capabilities.h                  |  1 +
  src/qemu/qemu_command.c                       |  5 +++
  src/qemu/qemu_validate.c                      |  7 ++++
  .../caps_5.1.0.x86_64.xml                     |  1 +
  .../caps_5.2.0.x86_64.xml                     |  1 +
  ...-options-memballoon-freepage-reporting.err |  1 +
  ...loon-freepage-reporting.x86_64-latest.args | 36 +++++++++++++++++++
  ...-options-memballoon-freepage-reporting.xml | 22 ++++++++++++
  tests/qemuxml2argvtest.c                      |  2 ++
  ...-options-memballoon-freepage-reporting.xml | 22 ++++++++++++
  15 files changed, 133 insertions(+)
  create mode 100644 tests/qemuxml2argvdata/virtio-options-memballoon-freepage-reporting.err
  create mode 100644 tests/qemuxml2argvdata/virtio-options-memballoon-freepage-reporting.x86_64-latest.args
  create mode 100644 tests/qemuxml2argvdata/virtio-options-memballoon-freepage-reporting.xml
  create mode 100644 tests/qemuxml2xmloutdata/virtio-options-memballoon-freepage-reporting.xml


Couple of white space problems, but nothing I couldn't fix before pushing.

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

Congratulations on your first libvirt contribution!

Michal




[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]

  Powered by Linux