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] sysrq/shutdown in xen 3.1 + centos5 HVM guest

To: Schober Walter <Walter.Schober@xxxxxxxxx>
Subject: Re: [Xen-users] sysrq/shutdown in xen 3.1 + centos5 HVM guest
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Fri, 8 Jun 2007 15:56:25 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Jun 2007 07:54:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <30FA315AB19B5F49B7B7C5CA912B081104F75E@xxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <30FA315AB19B5F49B7B7C5CA912B081104F75E@xxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Fri, Jun 08, 2007 at 04:51:43PM +0200, Schober Walter wrote:
> Doing a
>       [root@s12 ~]# xm sysrq vs01 s
> does nothing in the VM.

This only works for paravirt guests.

> Also strange: Doing a "xm shutdown vs01" just terminates the VM. No
> orderly shutdown on the VNC console....

Not at all strange. HVM guests can't do controlled shutdown process unless
you install special Xen paravirt drivers inside the guest. Without those
drivers it will just hard poweroff. Since you've using Cent OS 5 as your
guest you really would do much better with paravirt instead of HVM - you'll
easily have x100 the network performance with paravirt for example

> I looked through a lot of docs so far, all telling me, that xm shutdown
> should do a shutdown like a "shutdown" in the Guest, and sysrq should
> work as well.

Only for paravirt unless you have extra drivers in the guest

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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

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