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

[Xen-users] dom0 and domU shutdown behavior

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] dom0 and domU shutdown behavior
From: Kai Schaetzl <maillists@xxxxxxxxxxxxx>
Date: Mon, 04 Aug 2008 19:03:18 +0200
Delivery-date: Mon, 04 Aug 2008 10:04:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Reply-to: xen-users@xxxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
If I do an xm shutdown or shutdown from within domU I get a graceful 
shutdown. If I shutdown dom0 the guests are just getting "killed". Is 
there a way to make dom0 shut down the domUs more gracefully?
I haven't seen any ill effects yet, but I assume a graceful shutdown would 
be better in any case.

Documentation at
http://tx.downloads.xensource.com/downloads/docs/user/#SECTION022300000000
00000000
says that xendomains would do this. However, I can't see that it does.

I also see these explanations in man xmdomain.cfg (which don't seem to 
apply to the situation above, I'm just asking about one option):

on_shutdown
   Triggered on either an xm shutdown or graceful shutdown from inside
   the DomU.

on_reboot
   Triggered on either an xm reboot or graceful reboot from inside the
   DomU.

on_crash
   Triggered when a DomU goes to the crashed state for any reason.

However, in my original config files created with virt-manager quite some 
time ago I have

on_poweroff =

Is on_poweroff valid anymore? Or is on_shutdown maybe wrong documentation?

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com




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