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] xl create should refuse to share block devices RW betwee

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] xl create should refuse to share block devices RW between domains
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Tue, 27 Jul 2010 16:47:54 +0100
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Daniel Stodden <Daniel.Stodden@xxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 27 Jul 2010 08:48:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C4EF8DA.70903@xxxxxxxx>
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>
Organization: Citrix Systems, Inc.
References: <4C4E2A06.9070604@xxxxxxxx> <1280218738.5872.8148.camel@xxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.1007271115430.19809@kaball-desktop> <1280228106.5872.8479.camel@xxxxxxxxxxxxxxxxxxxxxx> <4C4EF8DA.70903@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2010-07-27 at 16:18 +0100, Jeremy Fitzhardinge wrote:
> On 07/27/2010 03:55 AM, Ian Campbell wrote:
> >> I also think that tap_ctl_create is the right place to do these checks,
> >> not a script called by udev after the device has been created.
> > Agreed. tapdisk should be taking out a flock() or something similar on
> > any vhd files it is going to write to and should fail if it can't lock
> > the file.
> 
> I'm not sure that would work for physical device/lvm backing.

That should be covered by the existing checks for shared devices in the
hotplug scripts.

I'm not suggesting those aren't currently broken though ;-)

Ian.


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