[PATCH v2 0/3] qemu: Use -numa memdev= if -numa mem= is unavailable

Michal Privoznik posted 3 patches 1 week ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1589466608.git.mprivozn@redhat.com
src/qemu/qemu_capabilities.c                  |  44 ++-
src/qemu/qemu_capabilities.h                  |   3 +
src/qemu/qemu_capspriv.h                      |   3 +-
src/qemu/qemu_command.c                       |  17 +-
src/qemu/qemu_monitor.h                       |   1 +
src/qemu/qemu_monitor_json.c                  |  11 +
.../caps_1.5.3.x86_64.xml                     |  60 ++--
.../caps_1.6.0.x86_64.xml                     |  68 ++---
.../caps_1.7.0.x86_64.xml                     |  76 ++---
.../caps_2.1.1.x86_64.xml                     |  92 +++---
.../caps_2.10.0.aarch64.xml                   | 204 +++++++-------
.../caps_2.10.0.ppc64.xml                     |  84 +++---
.../caps_2.10.0.s390x.xml                     |  28 +-
.../caps_2.10.0.x86_64.xml                    | 140 +++++-----
.../caps_2.11.0.s390x.xml                     |  32 +--
.../caps_2.11.0.x86_64.xml                    | 140 +++++-----
.../caps_2.12.0.aarch64.xml                   | 228 +++++++--------
.../caps_2.12.0.ppc64.xml                     | 100 +++----
.../caps_2.12.0.s390x.xml                     |  36 +--
.../caps_2.12.0.x86_64.xml                    | 148 +++++-----
.../caps_2.4.0.x86_64.xml                     | 116 ++++----
.../caps_2.5.0.x86_64.xml                     | 124 ++++----
.../caps_2.6.0.aarch64.xml                    | 164 +++++------
.../qemucapabilitiesdata/caps_2.6.0.ppc64.xml |  60 ++--
.../caps_2.6.0.x86_64.xml                     | 100 +++----
.../qemucapabilitiesdata/caps_2.7.0.s390x.xml |  16 +-
.../caps_2.7.0.x86_64.xml                     | 108 +++----
.../qemucapabilitiesdata/caps_2.8.0.s390x.xml |  20 +-
.../caps_2.8.0.x86_64.xml                     | 124 ++++----
.../qemucapabilitiesdata/caps_2.9.0.ppc64.xml |  80 +++---
.../qemucapabilitiesdata/caps_2.9.0.s390x.xml |  24 +-
.../caps_2.9.0.x86_64.xml                     | 132 ++++-----
.../qemucapabilitiesdata/caps_3.0.0.ppc64.xml | 104 +++----
.../caps_3.0.0.riscv32.xml                    |  10 +-
.../caps_3.0.0.riscv64.xml                    |  10 +-
.../qemucapabilitiesdata/caps_3.0.0.s390x.xml |  40 +--
.../caps_3.0.0.x86_64.xml                     | 156 +++++------
.../qemucapabilitiesdata/caps_3.1.0.ppc64.xml | 108 +++----
.../caps_3.1.0.x86_64.xml                     | 164 +++++------
.../caps_4.0.0.aarch64.xml                    | 264 +++++++++---------
.../qemucapabilitiesdata/caps_4.0.0.ppc64.xml | 112 ++++----
.../caps_4.0.0.riscv32.xml                    |  10 +-
.../caps_4.0.0.riscv64.xml                    |  10 +-
.../qemucapabilitiesdata/caps_4.0.0.s390x.xml |  48 ++--
.../caps_4.0.0.x86_64.xml                     | 164 +++++------
.../caps_4.1.0.x86_64.xml                     | 176 ++++++------
.../caps_4.2.0.aarch64.xml                    |  52 ++--
.../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |  72 ++---
.../caps_4.2.0.x86_64.xml                     | 184 ++++++------
.../caps_5.0.0.aarch64.xml                    |  52 ++--
.../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  76 ++---
.../caps_5.0.0.x86_64.xml                     | 176 ++++++------
.../caps_5.1.0.x86_64.xml                     | 176 ++++++------
tests/testutilsqemu.c                         |   6 +-
54 files changed, 2408 insertions(+), 2345 deletions(-)

[PATCH v2 0/3] qemu: Use -numa memdev= if -numa mem= is unavailable

Posted by Michal Privoznik 1 week ago
v2 of:

https://www.redhat.com/archives/libvir-list/2020-May/msg00490.html

diff to v1:
- different approach used. I completely forgot about the discussion we
  had, but after Dan pointed it out to me, it clicked.

Michal Prívozník (3):
  qemu: Track numa-mem-supported machine attribute
  qemuBuildNumaArgStr: Switch order of if() and for()
  qemuBuildNumaArgStr: Use modern -numa memdev= if old -numa mem= is
    unsupported

 src/qemu/qemu_capabilities.c                  |  44 ++-
 src/qemu/qemu_capabilities.h                  |   3 +
 src/qemu/qemu_capspriv.h                      |   3 +-
 src/qemu/qemu_command.c                       |  17 +-
 src/qemu/qemu_monitor.h                       |   1 +
 src/qemu/qemu_monitor_json.c                  |  11 +
 .../caps_1.5.3.x86_64.xml                     |  60 ++--
 .../caps_1.6.0.x86_64.xml                     |  68 ++---
 .../caps_1.7.0.x86_64.xml                     |  76 ++---
 .../caps_2.1.1.x86_64.xml                     |  92 +++---
 .../caps_2.10.0.aarch64.xml                   | 204 +++++++-------
 .../caps_2.10.0.ppc64.xml                     |  84 +++---
 .../caps_2.10.0.s390x.xml                     |  28 +-
 .../caps_2.10.0.x86_64.xml                    | 140 +++++-----
 .../caps_2.11.0.s390x.xml                     |  32 +--
 .../caps_2.11.0.x86_64.xml                    | 140 +++++-----
 .../caps_2.12.0.aarch64.xml                   | 228 +++++++--------
 .../caps_2.12.0.ppc64.xml                     | 100 +++----
 .../caps_2.12.0.s390x.xml                     |  36 +--
 .../caps_2.12.0.x86_64.xml                    | 148 +++++-----
 .../caps_2.4.0.x86_64.xml                     | 116 ++++----
 .../caps_2.5.0.x86_64.xml                     | 124 ++++----
 .../caps_2.6.0.aarch64.xml                    | 164 +++++------
 .../qemucapabilitiesdata/caps_2.6.0.ppc64.xml |  60 ++--
 .../caps_2.6.0.x86_64.xml                     | 100 +++----
 .../qemucapabilitiesdata/caps_2.7.0.s390x.xml |  16 +-
 .../caps_2.7.0.x86_64.xml                     | 108 +++----
 .../qemucapabilitiesdata/caps_2.8.0.s390x.xml |  20 +-
 .../caps_2.8.0.x86_64.xml                     | 124 ++++----
 .../qemucapabilitiesdata/caps_2.9.0.ppc64.xml |  80 +++---
 .../qemucapabilitiesdata/caps_2.9.0.s390x.xml |  24 +-
 .../caps_2.9.0.x86_64.xml                     | 132 ++++-----
 .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml | 104 +++----
 .../caps_3.0.0.riscv32.xml                    |  10 +-
 .../caps_3.0.0.riscv64.xml                    |  10 +-
 .../qemucapabilitiesdata/caps_3.0.0.s390x.xml |  40 +--
 .../caps_3.0.0.x86_64.xml                     | 156 +++++------
 .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml | 108 +++----
 .../caps_3.1.0.x86_64.xml                     | 164 +++++------
 .../caps_4.0.0.aarch64.xml                    | 264 +++++++++---------
 .../qemucapabilitiesdata/caps_4.0.0.ppc64.xml | 112 ++++----
 .../caps_4.0.0.riscv32.xml                    |  10 +-
 .../caps_4.0.0.riscv64.xml                    |  10 +-
 .../qemucapabilitiesdata/caps_4.0.0.s390x.xml |  48 ++--
 .../caps_4.0.0.x86_64.xml                     | 164 +++++------
 .../caps_4.1.0.x86_64.xml                     | 176 ++++++------
 .../caps_4.2.0.aarch64.xml                    |  52 ++--
 .../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |  72 ++---
 .../caps_4.2.0.x86_64.xml                     | 184 ++++++------
 .../caps_5.0.0.aarch64.xml                    |  52 ++--
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  76 ++---
 .../caps_5.0.0.x86_64.xml                     | 176 ++++++------
 .../caps_5.1.0.x86_64.xml                     | 176 ++++++------
 tests/testutilsqemu.c                         |   6 +-
 54 files changed, 2408 insertions(+), 2345 deletions(-)

-- 
2.26.2