From owner-freebsd-virtualization@FreeBSD.ORG Wed Nov 13 09:16:17 2013 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 6D6D6753 for ; Wed, 13 Nov 2013 09:16:17 +0000 (UTC) Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4AA902091 for ; Wed, 13 Nov 2013 09:16:17 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id p10so137667pdj.37 for ; Wed, 13 Nov 2013 01:16:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UyK0uM/VO+QZv9K8MzC8QkqLT9qhtwvjGX7IkkYP2yM=; b=kJ60+J+Xg0fxs9gZdu5unxAwGiKw69ScOeeEvrsvH/hlNZtxGNLRU6u8youoUG2fKn vG9E2hX4kiGgTNAVlZP165t9pYlsma8RJ38ZTGBoQLuv7pvGNfpCMHTNz+doQ4arcdjp hRPaWQcZeVXepjzYzW65wAoz/CkKhiUVF0iMjRaIkl6qCAvQq9aYCKuMDGLJ/zAkFQWj c2xSjNXY7t7zthzeKAaUwYtZ6LWMX8oUvuEo43SoX949Pq9M+cBgilAaDy9hvS/JN7A8 daGVjygDoF9L/Gv8l0z4tcQ76L/NcL7Q+a9S/maQnHSX49GzGe/tVimziNZmzzmepGJw ZnSg== MIME-Version: 1.0 X-Received: by 10.66.218.10 with SMTP id pc10mr40308026pac.111.1384334176729; Wed, 13 Nov 2013 01:16:16 -0800 (PST) Received: by 10.68.185.130 with HTTP; Wed, 13 Nov 2013 01:16:16 -0800 (PST) In-Reply-To: References: Date: Wed, 13 Nov 2013 04:16:16 -0500 Message-ID: Subject: Re: bhyve and guest rebooting From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.16 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: Wed, 13 Nov 2013 09:16:17 -0000 A quick follow up... it seems if you halt(8) a gust bhyve never terminates but if you call reboot(8) it does?!?!?!?!?!?!! On Tue, Nov 12, 2013 at 5:38 AM, Aryeh Friedman wrote: > As far we can tell bhyve simply terminates on guest shutdown regardless of > the reason (for example no difference [or we can find] in detecting if they > typed "halt" or "reboot" {or some other internal method of shutting down > the guest vm). Is there anyway for the caller to detect this and/or is it > possible to set command line flags that enable bhyve to manage the reboot > itself? >