From: Ian Pratt Subject: Re: which (pseudo)-device can be used as VBD in xenU ? Date: Mon, 29 Nov 2004 21:47:08 +0000 Message-ID: References: <41AB8C5B.9010804@enix.org> Return-path: In-reply-to: Your message of "Mon, 29 Nov 2004 21:53:47 +0100." <41AB8C5B.9010804@enix.org> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: =?ISO-8859-1?Q?J=E9r=F4me_Petazzoni?= Cc: xen-devel@lists.sourceforge.net, Ian.Pratt@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org > > >>And I would like to do this : disk=phy:md8,md1,w > > > You should be able to export md1 just fine, but the blkfront > > virtual driver won't currently register itself as anything other > > than sdX or hdX. > > I'm having a look at the blkfront driver ; I guess I should be able to > hack it easily to support registering with md major number. That might > do the trick (even if it's not very nice). > > Question : can a non-privilegied host manage a SCSI HBA (thru PCI > exclusions) or a IDE controller, and then directly mount SCSI or IDE > disks ? Yep, if its a separate PCI device it should work fine. You'll obviously need the kernel you're using to have the appropriate driver and e.g. scsi stack. The -xen0 kernel will probably have what you want. (this will be an io-privileged domain) > Or would blkfront "shadow" those device numbers and prevent > direct access to "real" disks ? The real device should get in before blkfront has a chance. Hmm, I guess there could be a problem if you were using drivers loaded by an initrd... Ian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/