[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xl: (Linux) extend SCSI device name to major mapping
>>> 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |