Subject: Re: XEN3 handles xm shutdown?
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 07/22/2006 17:37:53
On Fri, Jul 21, 2006 at 07:02:42PM +0900, YAMAMOTO Takashi wrote:
> > On Sat, Jul 08, 2006 at 05:37:44PM -0500, Chris Brookes wrote:
> > > Hello,
> > > 
> > > Just started testing Xen 3.0.2 before I upgrade from my existing Xen
> > > 2.0.7. I have just compiled a NetBSD Dom-U kernel from -current
> > > sources (with today's date) and I have powerd running but it looks
> > > like the guest is not yet handling the xm shutdown from the Dom-0.
> > > Have I missed something or is this functionality not available yet?
> > 
> > It's not available yet. I don't even have an idea how Xen3 tools pass this
> > information to a domU.
> 
> via "control/shutdown" in xenstore.  patch attached.

Looks good, please commit. Thnaks for looking at this !

> 
> a question: why xenbus_watch::node is not const?

Because of free_otherend_watch() and xenbus_watch_path2().
I agree this part of the code could be cleaned up; but I didn't write
it from scratch ...

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--