From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 19 15:47:07 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5259FC01; Tue, 19 Aug 2014 15:47:07 +0000 (UTC) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E08C3D7A; Tue, 19 Aug 2014 15:47:06 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id el20so6090914lab.31 for ; Tue, 19 Aug 2014 08:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=TJKb751w89NQzeI18MztranFgAzR5SlDgvghJSoedug=; b=NfpYihx8vRm5GOatXmCbcXkq/5bP26aScAbZXlwOp6oPuO/CW2gI2+/Ag4voW2MS4x 5aQHPBYwXtNXYagy+iIWiIqAEi9I0bgCi0ZAWG7SrbRkfX/kYZM3QumOvWsd1Dko6W0z azyvuVgEQ+vwVSu4g/Z3J+O3c7FfzHpSvYukSbCK6l7cfpr7FCaC8yuJgq7EhfAj9kdp RSnXt8eT8THV/wThWTW3gVe5oM1BwmPa1rCfklEfRput3YHPwQ7+QnJaB9nziozdJFMx ZCxNoP8J+sc0B4iOCkhN93EwqsV0EJNLDtimWsk3b8d6TJfdeSaUgcN9lIYxHaf3W1SU a0HQ== X-Received: by 10.152.87.97 with SMTP id w1mr10597089laz.92.1408463224550; Tue, 19 Aug 2014 08:47:04 -0700 (PDT) Received: from kloomba ([77.94.197.103]) by mx.google.com with ESMTPSA id a5sm32649625lbp.14.2014.08.19.08.47.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Aug 2014 08:47:03 -0700 (PDT) Sender: Roman Bogorodskiy Date: Tue, 19 Aug 2014 19:45:57 +0400 From: Roman Bogorodskiy To: Allan Jude Subject: Re: libvirt and rebooting of a bhyve VM Message-ID: <20140819154556.GB62903@kloomba> References: <20140819154035.GA62903@kloomba> <53F370F6.1020006@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: <53F370F6.1020006@freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2014 15:47:07 -0000 --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Allan Jude wrote: > On 2014-08-19 11:40, Roman Bogorodskiy wrote: > > Craig Rodrigues wrote: > >=20 > >> Roman, > >> > >> 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 > >> > >> 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. > >> > >> 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 > > Roman Bogorodskiy > >=20 >=20 > Which version are you running? 10-RELEASE, 10-STABLE or -CURRENT? 10-STABLE. Roman Bogorodskiy --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAEBAgAGBQJT83E0AAoJEMltX/4IwiJqdnQIAKq4fF6ovJyZbSHjuhMRd0wl iU/DsMZlx79A4LLpow9qRncbb1G5GTO+2lPW0tHqFHwr0JImalAlv6xPVTjU9UTE Veqlm8oI5RFoF5eGOfnO1+cnQXVf0+7mKOws/s/6X1N4dcfvdrlNYbKLl+aB0vvr 8eNOrLoFG6fbTRCfztjcM6SASxv76v5fAZ8hTVFexAQCZwaWU8YnnCJG9ye0YWt5 cYglzutQW1yxrvnMGgZ33i5KeQNSvAHyn/9jqGapghAQZ5VcpdqMWBgssIl55UT+ U4Qp8udMl4e2wqSpTp5W0FyKk9SiYnDx/7VpD6zPiFc6TGAnzWmN0SxDmMIa2Oc= =q9oM -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--