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-devel

RE: [Xen-devel] shutdown question - PV vs HVM

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] shutdown question - PV vs HVM
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sat, 6 Oct 2007 17:29:40 +1000
Delivery-date: Sat, 06 Oct 2007 00:30:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C32BFF7C.1674D%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D012499D7@trantor> <C32BFF7C.1674D%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgDyFItoNtfu9ELRKK7OSZX/N5DVwAI4ycSANpj7lAAAEgCaQAk9k+Q
Thread-topic: [Xen-devel] shutdown question - PV vs HVM
> > If I understand the code correctly, as soon as I see the
> > control/shutdown node appear, I should read it, and then write a
blank
> > string into it, which acknowledges the shutdown request and stops
the
> > forced shutdown. I should then give windows the shutdown or reboot
> > command, depending on what I read from the xenstore node.
> >
> > Sound good?
> 
> Yep, that sounds about right.
> 

Hmmm... I am writing a blank string into the shutdown node, but xen
still performs the reboot about 30 seconds later... The blank string is
definitely getting written as I can do a xenstore-read from dom0 and it
shows blank.

The only thing I can see that is different is that linux does it in a
transaction, while I don't. Would that make a difference?

Thanks

James

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