[libvirt] [PATCH] hooks: Fix a wrong description

Michal Privoznik mprivozn at redhat.com
Wed Nov 15 12:54:23 UTC 2017


On 11/15/2017 08:51 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at gmail.com>
> 
> In the definition of virHookQemuOpType and virHookNetworkOpType,
> we should use 'stopped' rather than 'shutdown'.
> 
> Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
> ---
>  docs/hooks.html.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/docs/hooks.html.in b/docs/hooks.html.in
> index 05156c30c..2c4c39b77 100644
> --- a/docs/hooks.html.in
> +++ b/docs/hooks.html.in
> @@ -316,7 +316,7 @@
>            executes <b>prior</b> to the object (guest or network) being created.
>            This allows the object start operation to be aborted if the script
>            returns indicating failure.<br/><br/></li>
> -      <li>The "shutdown" operation for the guest and network hook scripts,
> +      <li>The "stopped" operation for the guest and network hook scripts,
>            executes <b>after</b> the object (guest or network) has stopped. If
>            the hook script indicates failure in its return, the shut down of the
>            object cannot be aborted because it has already been performed.
> 

ACKed and pushed.

Michal




More information about the libvir-list mailing list