Date: Tue, 19 Aug 2014 12:44:42 -0700 From: Craig Rodrigues <rodrigc@FreeBSD.org> To: Allan Jude <allanjude@freebsd.org> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: libvirt and rebooting of a bhyve VM Message-ID: <CAG=rPVcTrPPEhgQYnqLPK1Ve-JAhuAbpyGzGgbdq7BDzVW3toA@mail.gmail.com> In-Reply-To: <53F3A2FF.3070600@freebsd.org> References: <CAG=rPVcGFSnMcMdrNtWjUtHUc0RLXps-t9WwzokNtyHQwWDfFQ@mail.gmail.com> <20140819154035.GA62903@kloomba> <EBFA02E4-AF67-4988-BF3F-5DB9F7D4BC76@jnielsen.net> <53F37A6F.90405@freebsd.org> <CAG=rPVdBDC48Ug34Qc-%2BBXY_W4q-=1mAQz5vq9nqPXCR4bfcHw@mail.gmail.com> <53F3A2FF.3070600@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 19, 2014 at 12:18 PM, Allan Jude <allanjude@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVcTrPPEhgQYnqLPK1Ve-JAhuAbpyGzGgbdq7BDzVW3toA>