libvirt and rebooting of a bhyve VM
Kurt Lidl
lidl at pix.net
Wed Aug 20 16:34:27 UTC 2014
On Tue, Aug 19, 2014, Craig Rodriques wrote:
> On Tue, Aug 19, 2014 at 12:18 PM, Allan Jude <allanjude at freebsd.org> wrote:
>>
>> The name of the vm is in the title of the bhyve process, but yes, it
>
> Hmm, OK, that would require me to grep the processes and send SIGTERM
> to the right pid.
> That's not ideal, especially if I start lots of VM's, but it is workable.
I would think that hacking in support to the bhyve program to use
pidfile_write() in libutil, with something like:
/var/run/bhyve.vmname.pid
as the default pathname for the pidfile would make this a lot
easier to manage from a script.
-Kurt
More information about the freebsd-virtualization
mailing list