From owner-freebsd-virtualization@FreeBSD.ORG Wed Dec 25 15:43:29 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D883AF6 for ; Wed, 25 Dec 2013 15:43:29 +0000 (UTC) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AA1F31EEF for ; Wed, 25 Dec 2013 15:43:29 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id fb1so7483764pad.18 for ; Wed, 25 Dec 2013 07:43:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=bOX+j1CQhSWBH32mW92CB5as5q1X5zNbJ0952NmkJFs=; b=AUe9Um77FobNKdrnegpGYaLNY3qymKQ+2nBiBM7T+gx88g8T8ZQmB9ZAqwPo41FwTN YDSsc2S6TMaXvNucu6RUhHj5sAYr1C3ld+jjcyq/z5CMMP/6bMCvqN+Zwrjp0ozdAnOc W6dEnNqtBxTg1rcXUPGLKlVQKnRvseNfAFLiMTARUX0Bs4GYsqV2hiZM5y/59f3iKgXV m65/6UlDvclGB3vigcAfl6d78M98VPi50LGlu7H3dof1fLjA/oi+WJRKQE+K70e0nUvI QxZMQLnxWvQQgohF6qLck26qNbEtuQNIGyq9Vm+hrig55XneRajKY3QFeVhwYGA7rl6X YREQ== X-Gm-Message-State: ALoCoQkoVR4LmqOmXHYNudm89avS9Fnq+S9Wtj3CEzZF6CFKe3DNduQbQ1GxS7yB4erIG7ExOfqF X-Received: by 10.66.139.130 with SMTP id qy2mr38955252pab.73.1387986208423; Wed, 25 Dec 2013 07:43:28 -0800 (PST) Received: from Michaels-MacBook-Pro.local (ip70-185-178-226.sb.sd.cox.net. [70.185.178.226]) by mx.google.com with ESMTPSA id gv10sm49166597pbd.0.2013.12.25.07.43.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Dec 2013 07:43:27 -0800 (PST) Message-ID: <52BAFD1F.3060404@callfortesting.org> Date: Wed, 25 Dec 2013 07:43:27 -0800 From: Michael Dexter User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: [PATCH] Support for S5 (soft power off) in bhyve References: <201312231443.39282.jhb@freebsd.org> In-Reply-To: <201312231443.39282.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 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, 25 Dec 2013 15:43:29 -0000 John, This is awesome. Can this be triggered from the host to shut down an unresponsive VM? If so, syntax? Michael On 12/23/13 11:43 AM, John Baldwin wrote: > To that end, I've implemented support for > a few more registers (such of which are non-optional in ACPI) including the > Reset Control register (0xcf9), ACPI Power Management 1 Event registers > (PM1_EVT) and the ACPI Power Management 1 Control register (PM1_CNT). I added > a valid _S5 package and catch writes of the value _S5 specifies to ask bhyve > to exit gracefully but with an exit code of 1 (so the loop in vmrun > terminates).