From owner-freebsd-xen@FreeBSD.ORG Sat Apr 23 22:15:38 2011 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47E21106566C for ; Sat, 23 Apr 2011 22:15:38 +0000 (UTC) (envelope-from admin@dmarkey.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 05B4C8FC08 for ; Sat, 23 Apr 2011 22:15:37 +0000 (UTC) Received: by gyg13 with SMTP id 13so494583gyg.13 for ; Sat, 23 Apr 2011 15:15:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.197.3 with SMTP id s3mr2725313yhn.54.1303596937182; Sat, 23 Apr 2011 15:15:37 -0700 (PDT) Received: by 10.236.103.146 with HTTP; Sat, 23 Apr 2011 15:15:37 -0700 (PDT) In-Reply-To: References: Date: Sat, 23 Apr 2011 23:15:37 +0100 Message-ID: From: David Markey To: Florian Heigl Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-xen@freebsd.org Subject: Re: a little lost: Xen HVM acpi shutdown? X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: admin@dmarkey.com List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2011 22:15:38 -0000 It normally is done by sending the shutdown signal via the xenstore.. However something has to be listening for the signal in the guest in order for this to work(then it initiates shutdown). I'm not sure FreeBSD has anything listening on the guest side. On 23 April 2011 22:59, Florian Heigl wrote: > Hi David, thanks for your reply. > > 2011/4/23 David Markey : > > ACPI shutdown can be done via the QEMU process. > > It should be listening on a control pipe where you can tell it to > shutdown. > > I don't really understand that: > > If you do a xm shutdown then I'm quite sure that Xen does send > the right commands to a PV/HVM domU or is it in fact not something > FreeBSD specific and doesn't work for any guest OS on HVM domU? > I remember that i.e. the windows GPLPV drivers have a device driver > that is used to trigger the VM shutdown. > > So I'd think this is an issue where I gotta do something on the domU side. > > But maybe we're talking different things :)) > > Florian >