]> xenbits.xensource.com Git - libvirt.git/commit
Introduce two new methods for triggering controlled shutdown/reboot
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 28 Nov 2012 13:24:23 +0000 (13:24 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 30 Nov 2012 19:19:38 +0000 (19:19 +0000)
commit76d9f656446934bd1389787ecaa335029ef14919
tree628814c0993b675aa765d175dcc476fc6df62310
parentdff4a753c474b4028e458006d47ca0142fd66000
Introduce two new methods for triggering controlled shutdown/reboot

The virDomainShutdownFlags and virDomainReboot APIs allow the caller
to request the operation is implemented via either acpi button press
or a guest agent. For containers, a couple of other methods make
sense, a message to /dev/initctl, and direct kill(SIGTERM|HUP) of
the container init process.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
include/libvirt/libvirt.h.in
tools/virsh-domain.c