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

Chen Hanxiao posted 1 patch 6 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20171115075140.4598-1-chen_han_xiao@126.com
docs/hooks.html.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] hooks: Fix a wrong description
Posted by Chen Hanxiao 6 years, 5 months ago
From: Chen Hanxiao <chenhanxiao@gmail.com>

In the definition of virHookQemuOpType and virHookNetworkOpType,
we should use 'stopped' rather than 'shutdown'.

Signed-off-by: Chen Hanxiao <chenhanxiao@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.
-- 
2.13.6

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] hooks: Fix a wrong description
Posted by Michal Privoznik 6 years, 5 months ago
On 11/15/2017 08:51 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao@gmail.com>
> 
> In the definition of virHookQemuOpType and virHookNetworkOpType,
> we should use 'stopped' rather than 'shutdown'.
> 
> Signed-off-by: Chen Hanxiao <chenhanxiao@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list