Re: [PATCH 4/4] docs: Update formatdomain for lifecycle events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24.04.2013 13:40, John Ferlan wrote:
> ---
>  docs/formatdomain.html.in | 30 ++++++++++++++++++++++--------
>  1 file changed, 22 insertions(+), 8 deletions(-)
> 
> diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
> index 888c005..2c876ed 100644
> --- a/docs/formatdomain.html.in
> +++ b/docs/formatdomain.html.in
> @@ -957,7 +957,13 @@
>  
>      <p>
>        It is sometimes necessary to override the default actions taken
> -      on various events.
> +      on various events. Not all hypervisors support all events and actions.
> +      The actions may be taken as a result of calls to libvirt APIs
> +      <code class='docref'>virDomainReboot</code>,
> +      <code class='docref'>virDomainShutdown</code>, or
> +      <code class='docref'>virDomainShutdownFlags</code>.
> +      Using <code>virsh reboot</code> or <code>virsh shutdown</code> would
> +      also trigger the event.
>      </p>
>  
>  <pre>
> @@ -994,20 +1000,28 @@
>      <dl>
>        <dt><code>destroy</code></dt>
>        <dd>The domain will be terminated completely and all resources
> -        released</dd>
> +        released.</dd>
>        <dt><code>restart</code></dt>
> -      <dd>The domain will be terminated, and then restarted with
> -        the same configuration</dd>
> +      <dd>The domain will be terminated and then restarted with
> +        the same configuration.</dd>
>        <dt><code>preserve</code></dt>
> -      <dd>The domain will be terminated, and its resource preserved
> +      <dd>The domain will be terminated and its resource preserved
>          to allow analysis.</dd>
>        <dt><code>rename-restart</code></dt>
> -      <dd>The domain will be terminated, and then restarted with
> -        a new name</dd>
> +      <dd>The domain will be terminated and then restarted with
> +        a new name.</dd>
>      </dl>
>  
>      <p>
> -      on_crash supports these additional
> +    QEMU/KVM supports the <code>on_poweroff</code> and <code>on_reboot</code>
> +    events handling the <code>destroy</code> and <code>restart</code> actions.
> +    The <code>preserve</code> action for an <code>on_reboot</code> event
> +    is treated as a <code>destroy</code> and the <code>rename-restart</code>
> +    action for an <code>on_poweroff</code> event is treated as a
> +    <code>restart</code> event.
> +
> +    <p>
> +      The <code>on_crash</code> event supports these additional
>        actions <span class="since">since 0.8.4</span>.
>      </p>
>  
> 

ACK with this squashed in:

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index ef1db73..b118b49 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -1029,6 +1029,7 @@
     is treated as a <code>destroy</code> and the
<code>rename-restart</code>
     action for an <code>on_poweroff</code> event is treated as a
     <code>restart</code> event.
+    </p>

     <p>
       The <code>on_crash</code> event supports these additional

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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]