From nobody Thu Dec 18 19:33:21 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1742482695; cv=none; d=zohomail.com; s=zohoarc; b=lK5Rx/TQXrDh0m1HjVrb+YvwSYZLNquOO/JnkYkIeprjUFJ8k+bvcJhu1rSWpmFmapy6W9XMFIyjft0SB9UNrWOJHNwPER/SsESttEoRMgn+hnIxI44BMI4UrFy9Y/fK6ofyBPS7Vti7v7yv3yACU7FLEUbNQr1/4RqQpRmXTKM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1742482695; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Subject:Subject:To:To:Message-Id; bh=yeHS32QbxwuE9GwWfxv+rO1jGFVD45GhOOt/lONmx4c=; b=l9omq43972tOftC4lTHxBuOPXBSgAkY9Dio4xitVlY1oI2P+YSlJQbdAmj/QM2ZTFVJBXSjVfYYF6OJWzF0TSSVeeQvcowSazqbAd8gurSgT3iZnxeLR6Rel1kgk3wu0xvTtLTP3GprjKNIQ+WrIJs9KvRjMpDSudnZksAElwGo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1742482695693928.3870209507189; Thu, 20 Mar 2025 07:58:15 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 8FDC615C3; Thu, 20 Mar 2025 10:58:14 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 76FF915AF; Thu, 20 Mar 2025 10:57:57 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 1EF6F139E; Thu, 20 Mar 2025 10:57:54 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 4F5F2132E for ; Thu, 20 Mar 2025 10:57:53 -0400 (EDT) Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-694-7znA4ZGcNGWGdx-enS9wug-1; Thu, 20 Mar 2025 10:57:52 -0400 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1627819373D7 for ; Thu, 20 Mar 2025 14:57:51 +0000 (UTC) Received: from toolbx.redhat.com (unknown [10.42.28.62]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 122E53001D16; Thu, 20 Mar 2025 14:57:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1742482673; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/QoUoapbQamjvjpUJqyr3AALy39OxaknOO53YngHNPk=; b=f3IJTZwzudeg3DBeOPjkl/MJnj46MJJgaMUKbRcSfDxWAk3AKVn3dD8xvDRMhpg1pGs/jf N9thTTL5XU3IjlT15gs/VE2UqaZlM6aue1Pz0h8jvJI0DS4TYpfhCO7fzDLYoETIqIFnkC 7BWi5j9LAV1Tf7aBed6mD9nrMZBdz5Q= X-MC-Unique: 7znA4ZGcNGWGdx-enS9wug-1 X-Mimecast-MFC-AGG-ID: 7znA4ZGcNGWGdx-enS9wug_1742482671 To: devel@lists.libvirt.org Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH] Add NEWS item for auto-shutdown feature Date: Thu, 20 Mar 2025 14:57:48 +0000 Message-ID: <20250320145748.663091-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: NGuPWP0BTQGOElb2c9ylCkNiLYHeMEBoCvqwPk6mMRU_1742482671 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: YXKON2RSCUDMDGIZTD3DTUV3EIA3JVRA X-Message-ID-Hash: YXKON2RSCUDMDGIZTD3DTUV3EIA3JVRA X-MailFrom: berrange@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: From: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9_via_Devel?= Reply-To: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1742482698146019100 Content-Type: text/plain; charset="utf-8" From: Daniel P. Berrang=C3=A9 Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Peter Krempa --- NEWS.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 98ca838642..45d48c1485 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -35,6 +35,23 @@ v11.2.0 (unreleased) or even map them to specific virtqueues similarly to the ``virtio-blk`` device allowing for better performance in certain scenarios. =20 + * qemu: integrate support for VM shutdown on host shutdown + + It is now possible to instruct the QEMU driver to automatically perform + managed save, graceful shutdown, or hard poweroff on running VMs, when= a + host shutdown is requested. This feature is intended to eventually rep= lace + usage of the libvirt-guests script. The new approach improves on the + libvirt-guests script, by proactively monitor logind for a signal that= a + host shutdown has been requested. It will initiate the chosen action on + running guests immediately, allowing shutdown inhibitors to be released + sooner. The new solution is also able to iteratively try multiple acti= ons + until one of them succeeeds in shutting down the VM. + + Since it must be mutually exclusive with the libvirt-guests script, th= is + feature currently requires an manual opt-in through editting of the + /etc/libvirt/qemu.conf configuration file. The libvirt-guests script m= ust + be disabled before doing this. + * **Improvements** =20 * **Bug fixes** --=20 2.48.1