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

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

 



  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

--
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]