From 9e6b432d014501511c4bd662d6ff78c9c491a907 Mon Sep 17 00:00:00 2001 From: Chen Hanxiao Date: Thu, 21 Jun 2018 19:28:55 +0800 Subject: [PATCH] set-lifecycle-action: add description of type and action In [1], are described as "on_poweroff", "on_reboot", "on_crash". but we accept "poweroff", "reboot" and "crash". This patch adds documentation for them. [1]: https://libvirt.org/formatdomain.html#elementsEvents Signed-off-by: Chen Hanxiao Signed-off-by: Michal Privoznik --- tools/virsh.pod | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index c9ef4f137c..83989437b2 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -2417,9 +2417,11 @@ the B command. =item B I I I [[I<--config>] [I<--live>] | [I<--current>]] -Set the lifecycle I for specified lifecycle I. For the list of -lifecycle types and actions and possible combinations see the documentation at -L. +Set the lifecycle I for specified lifecycle I. +The valid types are "poweroff", "reboot" and "crash", and for each of +them valid I is one of "destroy", "restart", "rename-restart", +"preserve". For I "crash", additional actions "coredump-destroy" +and "coredump-restart" are supported. =item B I I I [I<--encrypted>] -- 2.47.2