libvirt and rebooting of a bhyve VM
Craig Rodrigues
rodrigc at FreeBSD.org
Tue Aug 19 19:44:44 UTC 2014
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.
> would be nice to expose the ACPI style shutdown via bhyvectl
> --graceful-shutdown or something
Yes, it would.
>
> The question is, inside the while loop, after bhyve exits, does
> /dev/vmm/<vmname> still exist?
Yes, /dev/vmm/<vmname> still exists when bhyve exists,
no matter if it is a "shutdown -r" , or "shutdown -p".
--
Craig
More information about the freebsd-virtualization
mailing list