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: Re: Help please: bug#625 SCSI disk conflicts with blkfro

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: Re: Help please: bug#625 SCSI disk conflicts with blkfront---best approach for fix?
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Tue, 20 Jun 2006 10:49:01 -0500
Delivery-date: Tue, 20 Jun 2006 08:49:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: <1150802478.7727.6.camel@xxxxxxxxxxxxxxxxxxxxx> <pan.2006.06.20.14.59.24.611640@xxxxxxxxxx> <77df7811f152f320a5fab498c1ae5e20@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)
On Tue, 20 Jun 2006 16:11:43 +0100, Keir Fraser wrote:

> 
> On 20 Jun 2006, at 15:59, Anthony Liguori wrote:
> 
>> The best fix is to stop hijacking major numbers that we don't own.
>>
>> This has been discussed on LKML and we've been told not to do this.  
>> The
>> longer we allow this the harder it will be for users when they 
>> eventually
>> have to switch over to xdX.
> 
> The bestest fix would be to hook into the SCSI subsystem as a SCSI 
> low-level driver, and (possibly, if necessary) extend our block 
> protocol to cope as necessary. :-)

I'm not sure that qualifies as bestest as blkfront isn't a SCSI device.  I
thought the kernel was moving away from pretending that things are SCSI
devices when they really aren't.

If we're going to emulate a SCSI device anyway for FV domains we could
just hijack that device's driver and make it hybrid (so that we could do
anything that we needed to do such that performance was as good as PV).

We could then just get rid of XenBus and use an emulated PCI bus to expose
devices.  :-)

Regards,

Anthony Liguori

> We can keep the existing blkfront 
> hooks into the block layer for IDE (where I expect it's harder to 
> create a new plug-n-play low-level driver) and for XdX.
> 
>   -- Keir



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