Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
---
NEWS.rst | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 14f098b1f6..9020696f86 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -28,6 +28,18 @@ v6.8.0 (unreleased)
useful for containerised scenarios and can be used in both peer2peer and
direct migrations.
+ * Re-introduce NVDIMM auto-alignment for pSeries Guests
+
+ This feature was removed in libvirt v6.7.0 due to its shortcomings, namely
+ the lack of consistency between domain XML and actual NVDIMM size the guest
+ is using, but it came at a too high of a cost - we broke existing guests
+ that were running in libvirt v.6.6.0 and now had to adjust the size by
+ hand. The auto-alignment was re-introduced back, allowing existing guests
+ to keep running as usual. But now, instead of auto-aligning in a transparent
+ manner, it is also changing the domain XML. This brings a good balance
+ between consistency of domain XML and guest information, and also relieves
+ the user of knowing the alignment internals of pSeries NVDIMMs.
+
* **Bug fixes**
--
2.26.2
On Mon, 2020-09-14 at 23:42 -0300, Daniel Henrique Barboza wrote:
> + * Re-introduce NVDIMM auto-alignment for pSeries Guests
> +
> + This feature was removed in libvirt v6.7.0 due to its shortcomings, namely
> + the lack of consistency between domain XML and actual NVDIMM size the guest
> + is using, but it came at a too high of a cost - we broke existing guests
> + that were running in libvirt v.6.6.0 and now had to adjust the size by
> + hand. The auto-alignment was re-introduced back, allowing existing guests
> + to keep running as usual. But now, instead of auto-aligning in a transparent
> + manner, it is also changing the domain XML. This brings a good balance
> + between consistency of domain XML and guest information, and also relieves
> + the user of knowing the alignment internals of pSeries NVDIMMs.
I feel like this is needlessly verbose. How about something like
* Re-introduce NVDIMM auto-alignment for pSeries Guests
The auto-alignment logic was removed in v6.7.0 in favor of
requiring the size provided by the user to be already aligned;
however, this had the unintended consequence of breaking some
existing guests. v6.8.0 restores the previous behavior, and as an
improvement upon it also reflects the auto-aligned value in the
domain XML.
instead?
--
Andrea Bolognani / Red Hat / Virtualization
On 9/17/20 1:02 PM, Andrea Bolognani wrote: > On Mon, 2020-09-14 at 23:42 -0300, Daniel Henrique Barboza wrote: >> + * Re-introduce NVDIMM auto-alignment for pSeries Guests >> + >> + This feature was removed in libvirt v6.7.0 due to its shortcomings, namely >> + the lack of consistency between domain XML and actual NVDIMM size the guest >> + is using, but it came at a too high of a cost - we broke existing guests >> + that were running in libvirt v.6.6.0 and now had to adjust the size by >> + hand. The auto-alignment was re-introduced back, allowing existing guests >> + to keep running as usual. But now, instead of auto-aligning in a transparent >> + manner, it is also changing the domain XML. This brings a good balance >> + between consistency of domain XML and guest information, and also relieves >> + the user of knowing the alignment internals of pSeries NVDIMMs. > > I feel like this is needlessly verbose. How about something like > > * Re-introduce NVDIMM auto-alignment for pSeries Guests > > The auto-alignment logic was removed in v6.7.0 in favor of > requiring the size provided by the user to be already aligned; > however, this had the unintended consequence of breaking some > existing guests. v6.8.0 restores the previous behavior, and as an > improvement upon it also reflects the auto-aligned value in the > domain XML. > > instead? LGTM. I'll change it in v2. Thanks, DHB >
© 2016 - 2026 Red Hat, Inc.