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] xl: (Linux) extend SCSI device name to major map

To: "Ian Jackson" <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xl: (Linux) extend SCSI device name to major mapping
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Tue, 21 Sep 2010 17:25:01 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 21 Sep 2010 09:25:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19608.53197.863607.659440@xxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <4C98B083020000780001816E@xxxxxxxxxxxxxxxxxx> <19608.53197.863607.659440@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> On 21.09.10 at 17:31, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
> Firstly, according to the document I'm trying to get agreed (see my
> mail just sent, with another copy of it), sd* devices beyond disk 15
> are deprecated and not supported.  You should be using xvd* if you
> can.

Sure. I was just trying to test the SCSI path that someone else used
and reported a problem with. I wasn't able to use the first major (as
that is necessarily used by sd.ko), but I could free up all other majors
for blkfront.

> For backwards compatibility we do support specifying the plain
> xenstore number, in decimal, hex or octal.  So you can use that if you
> have old guests which for some reason you can't change.

Okay, that might also have worked then for this specific exercise.
It's only a little cumbersome to work out those numbers.

>> +#ifdef __linux__
> 
> Secondly, that is entirely wrong, because that switches on the
> operating system in dom0.  That may be entirely different to the
> operating system in the guest.  That shows why this whole idea of
> trying to specify the major/minor numbers in the guest is wrong.  Some
> guests may not even _have_ major/minor numbers.

I would agree, wouldn't there already be the use of Linux majors
for SCSI and IDE (for the latter, even including both majors).

Jan


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

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