From nobody Sat May 4 01:57:35 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1629885079; cv=none; d=zohomail.com; s=zohoarc; b=UwldjPFfTqsDdPD8NOauy6Nlzw384bH0SKUwVkKeSMA+M9iQlT1OvebKHfXqtjUJNy+zaffA9widtWUeH7F41WTA6tbsSRlLA/m9VYzmdb74QNJRsDpQRt5pysLNGFAwZHynPeRIz4fZhfGRlqRIsqCdKizU6lTWN2Q5vZW271A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629885079; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NbW1Nf+2ppbxvRirOkQJ84xXO1eOhmHCxI7r/DRbMDA=; b=LbkidabqNflf2RdNqvPX9h87pERcPYY3nFkIlNYp96Q34iyM4CHvsezpz2orlcfmK5M9ff8grnZa/1SMInrxUYA4+b17Piin24uBKk53ENAKA1tWjGTvVh8lQlXOm5N3fB65d9RHZbmzoyG7Z7vpgMqu5oaKwjCvWKApJUKUdl4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1629885079240726.1550561069005; Wed, 25 Aug 2021 02:51:19 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-516-3CaHhn5kPbKOLDzTQenWPA-1; Wed, 25 Aug 2021 05:51:15 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0AEE51008067; Wed, 25 Aug 2021 09:51:11 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D9FD568D95; Wed, 25 Aug 2021 09:51:10 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id A77F2181A0F7; Wed, 25 Aug 2021 09:51:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 17P9oEfV027790 for ; Wed, 25 Aug 2021 05:50:14 -0400 Received: by smtp.corp.redhat.com (Postfix) id 476485D9C6; Wed, 25 Aug 2021 09:50:14 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id A8FBA5DA2D for ; Wed, 25 Aug 2021 09:50:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629885078; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=NbW1Nf+2ppbxvRirOkQJ84xXO1eOhmHCxI7r/DRbMDA=; b=IAl3fi14FPFmQ3La6CoKd7JgPJdqod7rWOLDVur74mL46GBW8W2+7npWtAYiFh3pOnqoxN 3DAQvBFDLSUUdcriGzjlHZ1gF7J7gdddqPjYr0L69lVy03KMsn1vDN4ea/8BlfHdxZW4RB Tz45NdbfBmswwyF0WpnLi7wVKs6GPkk= X-MC-Unique: 3CaHhn5kPbKOLDzTQenWPA-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/2] NEWS: Mention bug with incorrect format recorded for qcow2+luks overlays Date: Wed, 25 Aug 2021 11:50:07 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1629885079486100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa Reviewed-by: Andrea Bolognani --- 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 imag= es + + 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) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.31.1 From nobody Sat May 4 01:57:35 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1629885045; cv=none; d=zohomail.com; s=zohoarc; b=kn7AwaQxvlApMuiXzvXIpb86Uetc7P3aa/B7IodagPNRM01RhO08TJER6chcvTqRNhNBlnecCH6Oz6yLkVlbLQu5rU1jYhBRkHWc1MqSvgfagiMYp30zV/VxlSI6iQe2aAw4pRh9vL4ERmiy6HvZyXUcE72WZFjepROgR3C4UPo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629885045; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Ftq8hqXAQ9XWorJ/4GTZ8+LAMvxZWqytg5s9DTL0Cfw=; b=g5Ls2q/BZaHuB3AZxqxaKLDe+wCUfDZYuVWrbixaT3nP8yXAueDpSbkiL42TOtuDOaNw1dixgjRxxZ0xracKEFWolKofBngbQ2HE0H1o3mpdqh+TJAedxKxUERgZN8HX7Y79qnb1MIISRhDL/2IKd2wS6bd64KR6Y/hYQkF6B6c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1629885045792855.65766117188; Wed, 25 Aug 2021 02:50:45 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-469-sptGMiXBOv6Imf-IYZ-FZw-1; Wed, 25 Aug 2021 05:50:42 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2AAF58799EB; Wed, 25 Aug 2021 09:50:37 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0B48F1346F; Wed, 25 Aug 2021 09:50:37 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 2C2A24BB7C; Wed, 25 Aug 2021 09:50:36 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 17P9oFl2027800 for ; Wed, 25 Aug 2021 05:50:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id 610F15DA2D; Wed, 25 Aug 2021 09:50:15 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id BA4455D9C6 for ; Wed, 25 Aug 2021 09:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629885044; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Ftq8hqXAQ9XWorJ/4GTZ8+LAMvxZWqytg5s9DTL0Cfw=; b=KdOqO8MKLuC7lykqlTdjZGGiBmnxj6vV6xFutvGk7+VlYVxDLo2lnzj7mDBTEdYQ9p0zoG 0MVUf3tN4qxdbdbHU88sHLUvGCu9Sr3msgUAPQEX50Kk92rZeytp3tqCfWHbD9lWtlvYGb iA+pjeGFo1B8PvYU0yeayNkS2viMYjc= X-MC-Unique: sptGMiXBOv6Imf-IYZ-FZw-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 2/2] NEWS: Update with description of changes to lifecycle action handling Date: Wed, 25 Aug 2021 11:50:08 +0200 Message-Id: <43cc55a523e993093028f04f9881b464e93f0958.1629884955.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1629885046691100002 Content-Type: text/plain; charset="utf-8" Signed-off-by: Peter Krempa Reviewed-by: Andrea Bolognani --- 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 improv= ements + + The handling of lifecycle actions was fixed and improved in multiple w= ays: + + - ``restart-rename`` action was forbidden + + The action was never properly implemented in the qemu driver and did= n't + actually result in a restart of the VM but rather termination. The q= emu + driver now rejects such configurations. + + - ``preserve`` action was forbidden + + Similarly to the previous case this never worked as the intended sem= antics + of the actions dictate. It's better to not allow it at all until the= re'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 wh= ich + allows proper handling when changing between ``reboot`` and ``destro= y`` + 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 termin= ated. + * **Bug fixes** * qemu: Record proper ``backing`` format for overlays of qcow2+luks imag= es --=20 2.31.1