[PATCH v3 0/5] add post parse pSeries mem align, when ABI_UPDATE

Daniel Henrique Barboza posted 5 patches 3 years, 5 months ago
Test syntax-check failed
Failed in applying to current master (apply log)
src/conf/domain_conf.c                        | 59 +-------------
src/conf/domain_conf.h                        |  3 -
src/libvirt_private.syms                      |  1 -
src/qemu/qemu_domain.c                        | 80 ++++++++++++++++++-
...mory-hotplug-nvdimm-ppc64-abi-update.args} | 20 ++---
...memory-hotplug-nvdimm-ppc64-abi-update.xml |  1 +
.../memory-hotplug-nvdimm-ppc64.args          |  6 +-
.../memory-hotplug-nvdimm-ppc64.xml           |  8 +-
...emory-hotplug-ppc64-nonuma-abi-update.args | 29 +++++++
...memory-hotplug-ppc64-nonuma-abi-update.xml |  1 +
.../memory-hotplug-ppc64-nonuma.args          |  7 +-
.../memory-hotplug-ppc64-nonuma.xml           | 14 +++-
tests/qemuxml2argvtest.c                      | 18 ++++-
...memory-hotplug-nvdimm-ppc64-abi-update.xml | 46 +++++++++++
.../memory-hotplug-nvdimm-ppc64.xml           | 10 +--
...memory-hotplug-ppc64-nonuma-abi-update.xml | 38 +++++++++
.../memory-hotplug-ppc64-nonuma.xml           |  1 +
tests/qemuxml2xmltest.c                       | 19 +++++
18 files changed, 254 insertions(+), 107 deletions(-)
rename tests/qemuxml2argvdata/{memory-hotplug-nvdimm-ppc64.ppc64-latest.args => memory-hotplug-nvdimm-ppc64-abi-update.args} (62%)
create mode 120000 tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64-abi-update.xml
create mode 100644 tests/qemuxml2argvdata/memory-hotplug-ppc64-nonuma-abi-update.args
create mode 120000 tests/qemuxml2argvdata/memory-hotplug-ppc64-nonuma-abi-update.xml
create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-ppc64-abi-update.xml
create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-ppc64-nonuma-abi-update.xml
create mode 120000 tests/qemuxml2xmloutdata/memory-hotplug-ppc64-nonuma.xml
[PATCH v3 0/5] add post parse pSeries mem align, when ABI_UPDATE
Posted by Daniel Henrique Barboza 3 years, 5 months ago
Hi,

This is the v3 of
https://www.redhat.com/archives/libvir-list/2020-November/msg01057.html

Some patches were already pushed. This series contains the remaining
ones that got feedback from Andrea.

Michal, I added your Reviewed-by tag in all my patches because I
considered that the changes made weren't worth making you review them
again.


Changes in v3:
- former patches 1, 2 and 4: already pushed.

- patches 1 and 2: these are Andrea's patches from [1]. The other
patches were rebased upon them. They're being sent in this series
because they're not pushed upstream in the moment of this posting.

- patch 3: reverted an extra commit that was made deprecated
after reverting the post parse code, as suggested by Andrea.

- patch 4 and 5 (former 5 and 6): these were taken from Andrea's local
branch in [2], with the test changes suggested by Andrea.


[1] https://www.redhat.com/archives/libvir-list/2020-December/msg00244.html
[2] https://gitlab.com/abologna/libvirt/-/tree/ppc64-memalign

Andrea Bolognani (2):
  tests: Sync some ppc64 tests
  tests: Simplify some ppc64 tests

Daniel Henrique Barboza (3):
  domain_conf.c: revert auto-alignment of pSeries NVDIMM in post parse
  qemu_domain.c: post parse pSeries NVDIMM align with PARSE_ABI_UPDATE
  qemu_domain.c: align all pSeries mem modules when PARSE_ABI_UPDATE

 src/conf/domain_conf.c                        | 59 +-------------
 src/conf/domain_conf.h                        |  3 -
 src/libvirt_private.syms                      |  1 -
 src/qemu/qemu_domain.c                        | 80 ++++++++++++++++++-
 ...mory-hotplug-nvdimm-ppc64-abi-update.args} | 20 ++---
 ...memory-hotplug-nvdimm-ppc64-abi-update.xml |  1 +
 .../memory-hotplug-nvdimm-ppc64.args          |  6 +-
 .../memory-hotplug-nvdimm-ppc64.xml           |  8 +-
 ...emory-hotplug-ppc64-nonuma-abi-update.args | 29 +++++++
 ...memory-hotplug-ppc64-nonuma-abi-update.xml |  1 +
 .../memory-hotplug-ppc64-nonuma.args          |  7 +-
 .../memory-hotplug-ppc64-nonuma.xml           | 14 +++-
 tests/qemuxml2argvtest.c                      | 18 ++++-
 ...memory-hotplug-nvdimm-ppc64-abi-update.xml | 46 +++++++++++
 .../memory-hotplug-nvdimm-ppc64.xml           | 10 +--
 ...memory-hotplug-ppc64-nonuma-abi-update.xml | 38 +++++++++
 .../memory-hotplug-ppc64-nonuma.xml           |  1 +
 tests/qemuxml2xmltest.c                       | 19 +++++
 18 files changed, 254 insertions(+), 107 deletions(-)
 rename tests/qemuxml2argvdata/{memory-hotplug-nvdimm-ppc64.ppc64-latest.args => memory-hotplug-nvdimm-ppc64-abi-update.args} (62%)
 create mode 120000 tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64-abi-update.xml
 create mode 100644 tests/qemuxml2argvdata/memory-hotplug-ppc64-nonuma-abi-update.args
 create mode 120000 tests/qemuxml2argvdata/memory-hotplug-ppc64-nonuma-abi-update.xml
 create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-ppc64-abi-update.xml
 create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-ppc64-nonuma-abi-update.xml
 create mode 120000 tests/qemuxml2xmloutdata/memory-hotplug-ppc64-nonuma.xml

-- 
2.26.2