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

[Xen-devel] Re: Bug #515

To: Harry Butterworth <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: Bug #515
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Thu, 23 Mar 2006 14:06:26 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 23 Mar 2006 14:07:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1143114325.7679.19.camel@xxxxxxxxxxxxxxxxxxxxx>
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: <1143114325.7679.19.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Thu, Mar 23, 2006 at 11:45:25AM +0000, Harry Butterworth wrote:

> I updated bug #515.  If you want to suggest an approach for a solution,
> I'll have a go at putting a patch together.

Good catch, Harry!

If you look at the block and xen-hotplug-cleanup scripts, you'll see
that they claim a lock to make sure that the teardown doesn't interfere
with the check when a device comes up.  I think that a similar thing for
vif teardown would suffice.

I'm still trying to keep the parallelism in the scripts, where it's safe
to do so, because I don't want to put things in the way of device
bringup, but if it's risky to do that, then a lock to serialise every
vif operation, bringup and bringdown, ought to be safest.  I'll leave it
up to you to decide how coarse-grained that locking ought to be.

Cheers,

Ewan.

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

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