| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: xl create should refuse to share block devices RW between domains
 On 07/27/2010 08:17 AM, Ian Jackson wrote: 
 Well, my specific use case is that I have pairs of domain configs, one PV, one HVM, referring to the same set of resources. I want xl create to catch when I try and create the PV version of a domain while the HVM is still running. A more comprehensive check would be nice, but just this would be useful. But whatever it does check should be 100% reliable. Doesn't the kernel already have some features to try to stop multiple conflicting uses of the same block device ? Perhaps blktap[2] should do the same ? Not in general. The only interlock the kernel has is that you can't change the partition mapping on a device while it is in use. The e2fsprogs do generally try to stop mistakes like fscking a mounted filesystem, but it fails to detect if the block device is being used by blktap (and that does make quite a bit of a mess, it turns out...). 
    J
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |