[PATCH v1 0/4] revert latest PPC64 NVDIMM changes

Daniel Henrique Barboza posted 4 patches 3 years, 7 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200915024259.193494-1-danielhb413@gmail.com
NEWS.rst                                      | 12 ++++
docs/formatdomain.rst                         |  6 +-
src/conf/domain_conf.c                        | 71 +++++++++++++++----
src/conf/domain_conf.h                        |  3 +
src/libvirt_private.syms                      |  1 +
src/qemu/qemu_domain.c                        | 19 +++--
src/qemu/qemu_domain.h                        |  6 +-
src/qemu/qemu_hotplug.c                       |  6 +-
src/qemu/qemu_validate.c                      | 42 ++---------
...ory-hotplug-nvdimm-ppc64.ppc64-latest.args |  2 +-
.../memory-hotplug-nvdimm-ppc64.xml           |  2 +-
.../memory-hotplug-nvdimm-ppc64.xml           |  2 +-
12 files changed, 105 insertions(+), 67 deletions(-)
[PATCH v1 0/4] revert latest PPC64 NVDIMM changes
Posted by Daniel Henrique Barboza 3 years, 7 months ago
Hi,

In [1], Daniel pointed out that the changes made by [2]
are uncompliant with the Libvirt design of not doing
anything that can compromise guests in the wild.

This series aims to solve that by reverting the changes
made by [2]. It also enhances the auto-alignment of ppc64
NVDIMM in a way that we can have consistency between the sizes
reported in the domain XML and what QEMU will see, while not
hurting any running guests that are already using the auto-alignment
feature.

For simplicity, first patch contains the revert of all relevant
patches from [2] in a single commit.


[1] https://www.redhat.com/archives/libvir-list/2020-September/msg00572.html
[2] https://www.redhat.com/archives/libvir-list/2020-July/msg02010.html


Daniel Henrique Barboza (4):
  qemu: revert latest pSeries NVDIMM design changes
  conf, qemu: move qemuDomainNVDimmAlignSizePseries to domain_conf.c
  domain_conf.c: auto-align pSeries NVDIMM in
    virDomainMemoryDefParseXML()
  NEWS.rst: document the pSeries NVDIMM auto-alignment revival

 NEWS.rst                                      | 12 ++++
 docs/formatdomain.rst                         |  6 +-
 src/conf/domain_conf.c                        | 71 +++++++++++++++----
 src/conf/domain_conf.h                        |  3 +
 src/libvirt_private.syms                      |  1 +
 src/qemu/qemu_domain.c                        | 19 +++--
 src/qemu/qemu_domain.h                        |  6 +-
 src/qemu/qemu_hotplug.c                       |  6 +-
 src/qemu/qemu_validate.c                      | 42 ++---------
 ...ory-hotplug-nvdimm-ppc64.ppc64-latest.args |  2 +-
 .../memory-hotplug-nvdimm-ppc64.xml           |  2 +-
 .../memory-hotplug-nvdimm-ppc64.xml           |  2 +-
 12 files changed, 105 insertions(+), 67 deletions(-)

-- 
2.26.2