On Wed, May 04, 2016 at 07:41:59PM +0300, Roman Bogorodskiy wrote: > Bhyve supports ACPI shutdown by issuing SIGTERM signal to a bhyve > process. > > Add the bhyveDomainShutdown() function and virBhyveProcessShutdown() > helper function that just sends SIGTERM to VM's bhyve process. If > a guest supports ACPI shutdown then process will be terminated and > this event will be noticed by the bhyve monitor code that will handle > setting proper status and clean up VM's resources by calling > virBhyveProcessStop(). > --- > src/bhyve/bhyve_driver.c | 27 +++++++++++++++++++++++++++ > src/bhyve/bhyve_process.c | 23 +++++++++++++++++++++++ > src/bhyve/bhyve_process.h | 2 ++ > 3 files changed, 52 insertions(+) ACK Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list