[PATCH 0/1] qemu: add support for max-ram-below-4g option

Zhiyong Ye posted 1 patch 2 years, 11 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20210429085952.20096-1-yezhiyong@bytedance.com
There is a newer version of this series
docs/formatdomain.rst                       | 10 ++++++--
docs/schemas/domaincommon.rng               |  5 ++++
src/conf/domain_conf.c                      |  6 +++++
src/conf/domain_conf.h                      |  3 +++
src/conf/domain_validate.c                  | 13 ++++++++++
src/qemu/qemu_command.c                     |  4 ++++
tests/qemuxml2argvdata/memory-below4g.args  | 29 ++++++++++++++++++++++
tests/qemuxml2argvdata/memory-below4g.xml   | 26 ++++++++++++++++++++
tests/qemuxml2argvtest.c                    |  1 +
tests/qemuxml2xmloutdata/memory-below4g.xml | 37 +++++++++++++++++++++++++++++
tests/qemuxml2xmltest.c                     |  1 +
11 files changed, 133 insertions(+), 2 deletions(-)
create mode 100644 tests/qemuxml2argvdata/memory-below4g.args
create mode 100644 tests/qemuxml2argvdata/memory-below4g.xml
create mode 100644 tests/qemuxml2xmloutdata/memory-below4g.xml
[PATCH 0/1] qemu: add support for max-ram-below-4g option
Posted by Zhiyong Ye 2 years, 11 months ago
For background, see:
https://listman.redhat.com/archives/libvir-list/2021-April/msg01196.html

Changes since V1:
* Change the 'below4g' attribute to not share the 'unit' argument with
  actual memory size, and let its unit default to KiB
* Add docs and test changes

Zhiyong Ye (1):
  qemu: add support for max-ram-below-4g option

 docs/formatdomain.rst                       | 10 ++++++--
 docs/schemas/domaincommon.rng               |  5 ++++
 src/conf/domain_conf.c                      |  6 +++++
 src/conf/domain_conf.h                      |  3 +++
 src/conf/domain_validate.c                  | 13 ++++++++++
 src/qemu/qemu_command.c                     |  4 ++++
 tests/qemuxml2argvdata/memory-below4g.args  | 29 ++++++++++++++++++++++
 tests/qemuxml2argvdata/memory-below4g.xml   | 26 ++++++++++++++++++++
 tests/qemuxml2argvtest.c                    |  1 +
 tests/qemuxml2xmloutdata/memory-below4g.xml | 37 +++++++++++++++++++++++++++++
 tests/qemuxml2xmltest.c                     |  1 +
 11 files changed, 133 insertions(+), 2 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/memory-below4g.args
 create mode 100644 tests/qemuxml2argvdata/memory-below4g.xml
 create mode 100644 tests/qemuxml2xmloutdata/memory-below4g.xml

-- 
2.11.0