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][RESEND] Fix stale-state issue with 'xm dom{id, n

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH][RESEND] Fix stale-state issue with 'xm dom{id, name}'
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Tue, 4 Oct 2005 08:36:30 +0100
Delivery-date: Tue, 04 Oct 2005 07:34:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87psqqh4ww.fsf@xxxxxxxxxx>
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: <87psqqh4ww.fsf@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Sep 30, 2005 at 09:54:55AM -0700, Dan Smith wrote:

> 
> This is a resend of my stale state fix, which is yet unapplied.  If
> there are issues, please let me know.
> 
> Note that this fixes the issue poked by xm-test, as shown in the
> following snippet of David's latest FC3pae.report:
> 
> > FAIL: 01_shutdown_basic_pos 
> >      I had to run an xm list to update xend state!

Hi Dan,

I made a big change yesterday to XendDomain to make it thread-safe.  As far as
I can tell, most of the problems that you've been seeing were caused by
watches firing and modifying XendDomain internal state at the same time as
each other and as the xm commands.  This meant that it was pretty easy to
confuse Xend into thinking that domains existed when they didn't and vice
versa.

I would be grateful if you could re-run xm-test and let me know how it looks.
There might still be some bugs to iron out, but hopefully you will find that
the behaviour under xm-test is much improved.

We've got someone working right now on integrating xm-test with our automated
test/build infrastructure here, so I expect to be able to run all your tests
myself soon, but I would also appreciate your feedback on this.

Thanks,

Ewan.

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