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/
Home Products Support Community News


Re: [Xen-devel] which (pseudo)-device can be used as VBD in xenU ?

To: Jérôme Petazzoni <jp@xxxxxxxx>
Subject: Re: [Xen-devel] which (pseudo)-device can be used as VBD in xenU ?
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 29 Nov 2004 21:47:08 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Mon, 29 Nov 2004 21:48:29 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 29 Nov 2004 21:53:47 +0100." <41AB8C5B.9010804@xxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> >>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...


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. 
Xen-devel mailing list