From owner-freebsd-virtualization@FreeBSD.ORG Tue Nov 12 10:38:25 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 EED26697 for ; Tue, 12 Nov 2013 10:38:25 +0000 (UTC) Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [IPv6:2607:f8b0:400e:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CDAEC2119 for ; Tue, 12 Nov 2013 10:38:25 +0000 (UTC) Received: by mail-pb0-f41.google.com with SMTP id jt11so478491pbb.14 for ; Tue, 12 Nov 2013 02:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=6tYIGSMsHwYqq4JH+dzL5iWjkIQEYoe/PV6eW808T58=; b=rY5saLcvq9NR18zkIHG3X6dCGmYhPhG/sVyCJj2uXoUZL/fpYkfw2hxsYL1OY948bl gyOEtO0Og7gUmEC3l6I5mZ99uDYjs7YKAGixpUOMnQXyaNJjKPca0jny/bXlUU6rHOtT 1L3/LQkyAa00b5TmjPeWftVO27kDDH7aR4mzCYfZn1GCY3Ml43l/m8NKQMY5nAMYHAv+ dFH/tgw3PCPBR2yX1RJC4fawngxMeUWA/7ROCPX/mr5udz7+9c3B1G3oF+JWAlBLFTxq GzOslu5EFUHw5T8di/3doFTjbG6olR2iSzh6NgVZpJxWJ3KCa2htJIZwJBlXWbw46O+0 lyfg== MIME-Version: 1.0 X-Received: by 10.66.118.233 with SMTP id kp9mr2194072pab.182.1384252705402; Tue, 12 Nov 2013 02:38:25 -0800 (PST) Received: by 10.68.185.130 with HTTP; Tue, 12 Nov 2013 02:38:25 -0800 (PST) Date: Tue, 12 Nov 2013 05:38:25 -0500 Message-ID: Subject: 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: Tue, 12 Nov 2013 10:38:26 -0000 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?