[libvirt] [PATCH v3 2/2] bhyve: implement domainShutdown

Roman Bogorodskiy bogorodskiy at gmail.com
Thu May 5 05:13:31 UTC 2016


  Daniel P. Berrange wrote:

> 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

Pushed both patches (with some typos in commit messages fixed along the
way). Thank you and Cole for reviewing! 

Roman Bogorodskiy




More information about the libvir-list mailing list