From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 19 16:03:28 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 55D1536B; Tue, 19 Aug 2014 16:03:28 +0000 (UTC) Received: from webmail2.jnielsen.net (webmail2.jnielsen.net [50.114.224.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "webmail2.jnielsen.net", Issuer "freebsdsolutions.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 305B73FAA; Tue, 19 Aug 2014 16:03:27 +0000 (UTC) Received: from [10.10.1.198] (office.betterlinux.com [199.58.199.60]) (authenticated bits=0) by webmail2.jnielsen.net (8.14.9/8.14.9) with ESMTP id s7JFo3AW031670 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 19 Aug 2014 09:50:04 -0600 (MDT) (envelope-from lists@jnielsen.net) X-Authentication-Warning: webmail2.jnielsen.net: Host office.betterlinux.com [199.58.199.60] claimed to be [10.10.1.198] Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: libvirt and rebooting of a bhyve VM From: John Nielsen In-Reply-To: <20140819154035.GA62903@kloomba> Date: Tue, 19 Aug 2014 09:50:03 -0600 Content-Transfer-Encoding: 7bit Message-Id: References: <20140819154035.GA62903@kloomba> To: Roman Bogorodskiy X-Mailer: Apple Mail (2.1878.6) X-Virus-Scanned: clamav-milter 0.98.4 at webmail2.jnielsen.net X-Virus-Status: Clean 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 16:03:28 -0000 On Aug 19, 2014, at 9:40 AM, Roman Bogorodskiy wrote: > Craig Rodrigues wrote: > >> 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? > > 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? Wasn't changing this the intention of r267216 (MFCed as r270071)? Roman, was your 10-STABLE built after that revision? JN