WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] hvm gracefull power off

To: "'Thiago Camargo Martins Cordeiro'" <thiagocmartinsc@xxxxxxxxx>, <lists@xxxxxxxxx>
Subject: RE: [Xen-users] hvm gracefull power off
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Fri, 13 Feb 2009 16:06:23 -0500
Cc: 'Brian Krusic' <brian@xxxxxxxxxx>, 'xen-users list' <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 13 Feb 2009 13:07:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6b7f6eb0902131229o78bdac4ax5ce029cac565e7fc@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: PRD, Inc.
References: <C4337453-4BD3-4305-9C35-F686FA22795F@xxxxxxxxxx> <1234554535.24219.1.camel@ubu32> <6b7f6eb0902131229o78bdac4ax5ce029cac565e7fc@xxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmOGfOolo/2BdjDRO+jSefeT+wlTgABB+JQ
        Windows has always done this as well.  I believe I asked this same
question some time ago, but perhaps in fedora-xen, and I may not have, I
don't remember.  I would assume that either Xen or Qemu doesn't emulate
whatever it is in the ATX standard that provides that functionality.  A
signal is provided, but not one that is recognized automatically by non-PV
OSes that aren't modified (with an installed application/service).  With the
service included in the GPLPV drivers in Windows or an equivalent utility in
other distros (should such an equivalent exist), Xen will wait for the HVM
to shut down automatically, but without one, it immediately kills instead.
It is also worth noting that ACPI may still be necessary in these instances,
as otherwise the domU won't "turn off" on its own, but I am not sure on
that.
        Dustin

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Thiago Camargo
Martins Cordeiro
Sent: Friday, February 13, 2009 15:30
To: lists@xxxxxxxxx
Cc: Brian Krusic; xen-users list
Subject: Re: [Xen-users] hvm gracefull power off

Sorry for the ignorance but, HVM does not have something like "ATX" power
button of modern desktops/servers?... correct-me if I'm wrong, please... But
if I press the power button of my DELL desktop, any Linux distro like Ubuntu
shuts down properly... Why HVM does not behave like a real computer in this
case?

I'm always have used PV machines... so I don't know to much about HVM
domains...

Thiago
2009/2/13 Thomas Halinka <lists@xxxxxxxxx>
Hi Brian,

Am Freitag, den 13.02.2009, 11:39 -0800 schrieb Brian Krusic:
> Hi all,
>
> I have an Ubuntu 7.x HVM that I would prefer to be shutdown gracefully
> instead of what is going on now which looks to be a sudden kill;
>
> xm shutdown foo
>
> .. pretty much kills it instead of a nice halt -p.
for hvm you need the gplpv-drivers in your guests.

But why dont you use pv for linux-guests?

>
> My HVM conf file does say destroy but so do my other paravirt machines
> and they gracefully shutdown.
>
> Any ideas how I can do this?
hth,

Thomas

> - Brian
>
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>