From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 19 15:41:49 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 B936C6F7; Tue, 19 Aug 2014 15:41:49 +0000 (UTC) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (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 0760A3D23; Tue, 19 Aug 2014 15:41:48 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id 10so5735091lbg.34 for ; Tue, 19 Aug 2014 08:41:46 -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=aT+8qCElsVfIWR8HHuOZRRZXiknK7Qyvs4Eu6GyVLus=; b=XsQf3OW2PvDg5d9CDWJUhTEuG2eoHK9tZuzoLPfxv0oQfutUmJ3rwiRIBS84xzQ//0 Ppz80RlX78gwND4ncZr12r23NjEzZE+Q21YfB6aPe7MJv6+SZan2meQn3RGIJENUbdpk WtJ/eg7EF9tXaT8GHAryaFTmgR410+v0g3dn9YhzAclGQZLjEv4mdQ8MMKYuvw1bNKJm yhOERAGMmL4Base377GhVcCvx3HzuksIhYwT4h1603Q8vWDNPVrKjwfoeZJ/ALYqR7en IzqhgkcC2KwOY3rJ42gqy+nxaKw/EM0i+8/DCM+kLjGizk6pbnq5Bx34IL0H8avB1U5f sVSQ== X-Received: by 10.152.18.166 with SMTP id x6mr10235830lad.1.1408462906811; Tue, 19 Aug 2014 08:41:46 -0700 (PDT) Received: from kloomba ([77.94.197.103]) by mx.google.com with ESMTPSA id je8sm16920331lbc.34.2014.08.19.08.41.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Aug 2014 08:41:46 -0700 (PDT) Sender: Roman Bogorodskiy Date: Tue, 19 Aug 2014 19:40:36 +0400 From: Roman Bogorodskiy To: Craig Rodrigues Subject: Re: libvirt and rebooting of a bhyve VM Message-ID: <20140819154035.GA62903@kloomba> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: 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:41:49 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Craig Rodrigues wrote: > 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? Hi Craig, 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. So looks like that's a default bhyve behaviour or I'm missing something? Roman Bogorodskiy --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAEBAgAGBQJT82/zAAoJEMltX/4IwiJqTLEIAL1KRkkrRgEw9NrqrGccJSHN t5gRsUiVBs8k9djfGwkvL2vpS35B3ZyyIY0aE7yLecsGsYiBeBmqJZPYVSyV1Ee/ aZYJykgG2LOP5ruqfCojtj5UcvVLt/a9P9Igxjl3uERdRsQ/s+Xr4T/xPPm+GyyW wdrzX0JRkcgzUYWD3jcIOrUY2OGeFaMno0/n3H+WLhaNv20jvRTmYdbeurQWjbXL 4uEQTLp268r8utCW4ZQxVAhlCQjd8bWBDfhStBw3SBOasqFv9Lv3KWpPnyVAff2F lCjnSjS2wnxkloK9hpxiTR1Itm70y/6ilJt37pJkFk3m4+dleeXqL4Nrhni0CYY= =xzEi -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO--