[PATCH 0/2] NEWS updates for the upcoming release

Note that the changes described in 2/2 are not pushed yet. Peter Krempa (2): NEWS: Mention bug with incorrect format recorded for qcow2+luks overlays NEWS: Update with description of changes to lifecycle action handling NEWS.rst | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) -- 2.31.1

Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- NEWS.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 21df0e1602..a868c575c7 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -21,6 +21,14 @@ v7.7.0 (unreleased) * **Bug fixes** + * qemu: Record proper ``backing`` format for overlays of qcow2+luks images + + Libvirt would record ``luks`` instead of ``qcow2`` into the metadata. In + practice this is a problem only when inspecting images manually via + ``qemu-img`` as with libvirt users must use full specification of the + backing chain in the domain XML which supersedes information recorded in + the image metadata. + v7.6.0 (2021-08-02) =================== -- 2.31.1

Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- NEWS.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index a868c575c7..cdbd6e48a7 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -19,6 +19,36 @@ v7.7.0 (unreleased) * **Improvements** + * qemu: Lifecycle action (``on_poweroff``/``on_reboot``) handling improvements + + The handling of lifecycle actions was fixed and improved in multiple ways: + + - ``restart-rename`` action was forbidden + + The action was never properly implemented in the qemu driver and didn't + actually result in a restart of the VM but rather termination. The qemu + driver now rejects such configurations. + + - ``preserve`` action was forbidden + + Similarly to the previous case this never worked as the intended semantics + of the actions dictate. It's better to not allow it at all until there's a + proper implementation + + - ``reboot`` action of ``on_poweroff`` now actually works + + The guest OS is now rebooted instead of terminating the VM when the + ``reboot`` action is used and the guest OS powers down. Note that it's + incompatible with ``on_reboot`` set to ``destroy``. + + - Changes in action action of ``on_reboot`` are now updated with qemu + + Libvirtd can now properly update the ``on_reboot`` action in qemu which + allows proper handling when changing between ``reboot`` and ``destroy`` + actions. In addition, switching from ``reboot`` to ``destroy`` was + forbidden for older qemus which don't support the update API as the guest + could still reboot and execute some instructions until it was terminated. + * **Bug fixes** * qemu: Record proper ``backing`` format for overlays of qcow2+luks images -- 2.31.1

On Wed, Aug 25, 2021 at 11:50:06AM +0200, Peter Krempa wrote:
Note that the changes described in 2/2 are not pushed yet.
Peter Krempa (2): NEWS: Mention bug with incorrect format recorded for qcow2+luks overlays NEWS: Update with description of changes to lifecycle action handling
NEWS.rst | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+)
Reviewed-by: Andrea Bolognani <abologna@redhat.com> Obviously only push 2/2 if the corresponding changes make it into the release ;) -- Andrea Bolognani / Red Hat / Virtualization
participants (2)
-
Andrea Bolognani
-
Peter Krempa