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] [PATCH] xencommons: kill xenstored when stop xencommons

To: Yu Zhiguo <yuzg@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xencommons: kill xenstored when stop xencommons
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Tue, 22 Jun 2010 11:07:04 +0100
Cc: Ian, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Delivery-date: Tue, 22 Jun 2010 03:07:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C205DF4.6000405@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4C20135E.3000609@xxxxxxxxxxxxxx> <4C205DF4.6000405@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Tue, 22 Jun 2010, Yu Zhiguo wrote:
> Hi,
> 
> Yu Zhiguo wrote:
> > xenstored should be killed when stop xencommons.
> > 
> 
> >  do_stop () {
> > +   if read 2>/dev/null <$XENSTORED_PIDFILE pid; then
> > +           kill $pid
> > +           while kill -9 $pid >/dev/null 2>&1; do sleep 0.1; done
> > +           rm -f $XENSTORED_PIDFILE
> > +   fi
> > +
> 
> 
> It seems that kill xenstored will get taint message about
> 'HARDIRQ-safe -> HARDIRQ-unsafe'.
> Maybe some fix is needed here...

Killing xenstored has never been a "supported" operation so far.
In fact before xencommons was introduced, xenstored was never killed
AFAIK.

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