From owner-freebsd-xen@FreeBSD.ORG Sun Apr 24 12:46:00 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 D0F33106566B for ; Sun, 24 Apr 2011 12:46:00 +0000 (UTC) (envelope-from florian.heigl@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9939D8FC08 for ; Sun, 24 Apr 2011 12:46:00 +0000 (UTC) Received: by iwn33 with SMTP id 33so1895551iwn.13 for ; Sun, 24 Apr 2011 05:46:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fO2ba3x+J91p98oIvp0Z9ZvYJNetYdw/JN0lBuMUXsA=; b=VvFaKFI7ZfglCMHIkzuOmreFDlE927gEgrkAJtViy+HEwq5uYSzZhV03EWtOBHMwOz bh/dYShdFxobLWvJGWjf8k1pJvb02yfboZPEv/U7DcUqn3Mn6HscCn5lTL9EXJmhHhCQ Bq3XOmATfs7rLi4QiPFq0KXK7LTQkMRbzL5QI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=AOOAlKmEVcPFOvFahKkD1GcRdw2elPKfUNCrDjPZJXtd7O9Kf2ATVtFfTuIML8kkkv uhxp2LlBy+We9B4qQ+iDrbZIZV4Yjb3pbss7xMDfiLy44LneCJL/GDDfD/iZj+8wFfKM DEeqmxEMgfzs6eiirpOkm84hmpp7BD4jMh+L4= MIME-Version: 1.0 Received: by 10.42.97.69 with SMTP id m5mr3449072icn.116.1303649159936; Sun, 24 Apr 2011 05:45:59 -0700 (PDT) Received: by 10.42.189.6 with HTTP; Sun, 24 Apr 2011 05:45:59 -0700 (PDT) In-Reply-To: References: Date: Sun, 24 Apr 2011 14:45:59 +0200 Message-ID: From: Florian Heigl To: admin@dmarkey.com Content-Type: text/plain; charset=ISO-8859-1 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 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: Sun, 24 Apr 2011 12:46:00 -0000 Hi, 2011/4/24 David Markey : I've done some more searching on this (remember those people that say you don't need to know, you just need to look up? I wonder if they imagined hours of googling instead of *knowing*) > I'm not sure FreeBSD has anything listening on the guest side. Interesting read: http://lists.xensource.com/archives/html/xen-changelog/2009-04/msg00067.html So I checked for "xm trigger" on my dom0 and it had the command (Xen 4.0.1) It has the following options and is not documented in the xm manpage. "waxh0002:~# xm trigger Usage: xm trigger [] Send a trigger to a domain." Using xm trigger xen08 power the FreeBSD domU immediately started shutdown (at usual FreeBSD speed, so it was gone roughly 1-2 seconds later). I'll try to find out why it's not hooked into xm shutdown per Default and I very strongly assume it's the typical Xen problem of the last 3 years: Actually enabling the features is an exercise left for the reader. :) I would be interested if anyone could test this on Xen 4.1. - it might be already working there - it might be working when using "xl" isntead of "xm" - it might have been forgotten in "xl" and not work in "xm" Thanks for your help so far! Greetings, Florian -- the purpose of libvirt is to provide an abstraction layer hiding all xen features added since 2006 until they were finally understood and copied by the kvm devs.