[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] hvm gracefull power off



        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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.