From nobody Mon Apr 29 15:29:40 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=126.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1529580557573701.7018728095934; Thu, 21 Jun 2018 04:29:17 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D468930820DC; Thu, 21 Jun 2018 11:29:14 +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 53D3D309128B; Thu, 21 Jun 2018 11:29:14 +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 8E9944A463; Thu, 21 Jun 2018 11:29:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w5LBTAJi014143 for ; Thu, 21 Jun 2018 07:29:10 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2EA6230012BD; Thu, 21 Jun 2018 11:29:10 +0000 (UTC) Received: from mx1.redhat.com (ext-mx12.extmail.prod.ext.phx2.redhat.com [10.5.110.41]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 280A5309128B for ; Thu, 21 Jun 2018 11:29:08 +0000 (UTC) Received: from m15-113.126.com (m15-113.126.com [220.181.15.113]) by mx1.redhat.com (Postfix) with ESMTP id 3AF5B308A940 for ; Thu, 21 Jun 2018 11:29:05 +0000 (UTC) Received: from localhost.localdomain (unknown [58.213.111.46]) by smtp3 (Coremail) with SMTP id DcmowABHn_f6iytbF2M6BA--.50695S2; Thu, 21 Jun 2018 19:29:03 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id; bh=jsGyJbWtlK6aguGhiH sHp959AAitDk2LXRoI/Wuom0Q=; b=FmVuIVVvVg7pd2r2ktc/JtVFT8d4hgWvRL sJHW5yJ6UlcMZdylvb5QNpjTmrseMTTEiSqTdodz0PTjIwfg95U2XkOxJpiJuVZi VvMNv5PTJ/iQbAmHZgsv0jrL4l/dkKwUHif+C0/s9BYwuOzUON25+roUG8Z9QR/V XoFv3un78= From: Chen Hanxiao To: libvir-list@redhat.com Date: Thu, 21 Jun 2018 19:28:55 +0800 Message-Id: <20180621112855.13799-1-chen_han_xiao@126.com> X-CM-TRANSID: DcmowABHn_f6iytbF2M6BA--.50695S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7ur1fArW7Cry8ZrW8WFW5trb_yoW8Xr4kpF 1rCFnrCan3Xw1fGw4rZr13WFWDGFZ5Gw1rX39Fqw1293W7Kws7Kr42yasI9r1UJrWxuay0 vF1agan2qa1rCFDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jdyCJUUUUU= X-Originating-IP: [58.213.111.46] X-CM-SenderInfo: xfkh0spkdqs5xldrqiyswou0bp/1tbiaABsrlpD58k8YQAAsA X-Greylist: Sender passed SPF test, ACL 227 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Thu, 21 Jun 2018 11:29:07 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Thu, 21 Jun 2018 11:29:07 +0000 (UTC) for IP:'220.181.15.113' DOMAIN:'m15-113.126.com' HELO:'m15-113.126.com' FROM:'chen_han_xiao@126.com' RCPT:'' X-RedHat-Spam-Score: 0.7 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_ANBREP_L2, SPF_PASS) 220.181.15.113 m15-113.126.com 220.181.15.113 m15-113.126.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.41 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-loop: libvir-list@redhat.com Cc: Chen Hanxiao Subject: [libvirt] [PATCH] set-lifecycle-action: add description of type and action 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Thu, 21 Jun 2018 11:29:16 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Chen Hanxiao In [1], are described as "on_poweroff", "on_reboot", "on_crash". but we accept "poweroff", "reboot" and "crash". This patch adds docs about them. [1]: https://libvirt.org/formatdomain.html#elementsEvents Signed-off-by: Chen Hanxiao --- tools/virsh.pod | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 7cb8c8a6e4..1b479f318d 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -2414,8 +2414,12 @@ the B command. =3Ditem B I I I [[I<--config>] [I<--live>] | [I<--current>]] =20 -Set the lifecycle I for specified lifecycle I. For the list = of -lifecycle types and actions and possible combinations see the documentatio= n at +Set the lifecycle I for specified lifecycle I. +The valid I are "poweroff", "reboot" and "crash", each of them +allow valid I are "destroy", "restart", "rename-restart", "preserv= e". +For I "crash", additional actions "coredump-destroy" +and "coredump-restart" are supported. For the list of lifecycle types +and actions and possible combinations see the documentation at L. =20 =3Ditem B I I I [I<--encrypted>] --=20 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list