[libvirt] on shutdown

Martin Kletzander mkletzan at redhat.com
Thu Oct 20 17:53:14 UTC 2016


On Thu, Oct 20, 2016 at 11:26:09AM +0200, Ruben Kerkhof wrote:
>Hi all,
>
>virsh(1) has this to say about virsh shutdown:
>"The exact behavior of a domain when it shuts down is set by the
>on_shutdown parameter in the domain's XML definition."
>
>on_shutdown isn't documented in https://libvirt.org/formatdomain.html
>
>
>Is the virsh(1) manpage wrong?
>

Yes, it most certainly is.  The element is called <on_poweroff/> [1]

Patches welcome O:-)

Martin

[1] https://libvirt.org/formatdomain.html#elementsEvents

>Kind regards,
>
>Ruben Kerkhof
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161020/a5b6420f/attachment-0001.sig>


More information about the libvir-list mailing list