Date: Tue, 19 Aug 2014 20:11:58 +0400 From: Roman Bogorodskiy <novel@FreeBSD.org> To: John Nielsen <lists@jnielsen.net> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: libvirt and rebooting of a bhyve VM Message-ID: <20140819161156.GC62903@kloomba> In-Reply-To: <EBFA02E4-AF67-4988-BF3F-5DB9F7D4BC76@jnielsen.net> References: <CAG=rPVcGFSnMcMdrNtWjUtHUc0RLXps-t9WwzokNtyHQwWDfFQ@mail.gmail.com> <20140819154035.GA62903@kloomba> <EBFA02E4-AF67-4988-BF3F-5DB9F7D4BC76@jnielsen.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--DIOMP1UsTsWJauNi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable John Nielsen wrote: > On Aug 19, 2014, at 9:40 AM, Roman Bogorodskiy <novel@FreeBSD.org> wrote: >=20 > > Craig Rodrigues wrote: > >=20 > >> Roman, > >>=20 > >> I am using libvirt and bhyve according to this XML: > >> http://libvirt.org/drvbhyve.html > >> and it works great. > >> I gave a presentation at BAFUG on this: > >> http://www.slideshare.net/CraigRodrigues1/libvirt-bhyve > >>=20 > >> I have one question. If I reboot the bhyve VM started with libvirt > >> with "shutdown -r now", > >> the VM shuts down, but it does not restart. > >>=20 > >> How can I get the machine to reboot with "shutdown -r now" when > >> started with libvirt? > >=20 > > Hi Craig, > >=20 > > Unfortunately, I'm not sure how to get the reboot working. Moreover, I > > get the same behaviour when starting bhyve manually -- when I do a > > reboot, bhyve(8) exits as soon as the system is ready to restart. > >=20 > > So looks like that's a default bhyve behaviour or I'm missing something? >=20 > Wasn't changing this the intention of r267216 (MFCed as r270071)? >=20 > Roman, was your 10-STABLE built after that revision? Thanks for pointing at this commit. My -STABLE is older than that so I'll need to update. Anyway, if it works without restarting bhyve(8) then it should work in libvirt 'for free'. :) Roman Bogorodskiy --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAEBAgAGBQJT83dMAAoJEMltX/4IwiJqZbsH/3Cu4zucJJOtYFctCxGVPDTj WYbbcrdSLIOBhBD60UlgXP6HXTz46JEP6/7OQLKqFUJrO0eih8dJelD9WESzQc6w AJMYphk+lYhGQasUUL9YlKweU+onBcNltdDWQCLzkNdHTDAzQxmjZ2NFMVx/DbAs k/hQXyBKnPGJSBJUNmCoqXzQUpCIURMcSDQm3zovGSWBkusGFFDzuivxRTxBDHg0 h/ZVRh+lQfsYo+jfTI3j0Uq9dprk+w0UBIOgbMR9K+73SJUeBhPI/clHgrAeNVuH PjLurrLHxcJaD71CO1GjH4NE9GoqrtuFqmN0ixjFmG5yASluX34gZUKQYfSpOCU= =92tk -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140819161156.GC62903>