Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: making /dev/cd0a available to linux domu



On Mon, Sep 21, 2009 at 09:26:15PM -0500, John.C.Hayward%wheaton.edu@localhost 
wrote:
> Dear NetBSD Xen fans,
>    I have an old NetBSD dom0 (NetBSD 5.0BETA XEN3_DOM0 amd64 from 200811)
> and a domu Ubuntu.  I am attempting to make /dev/cd0a on the backend
> available to the Ubuntu.
>    In the config file I have:
> ====
> disk = [
> ....
> dev:/dev/cd0a,0xb00,w
> ]
> ====
>     If I do a xm list --long <domaiID> I don't see the cdrom listed.
>     If I do a:
> ====
> prompt> xm block-attach 4 /dev/rcd0a 0xb00 r
> Error: Block device must have physical details specified
> Usage: xm block-attach <Domain> <BackDev> <FrontDev> <Mode> [BackDomain]

You should use /dev/cd0a, not /dev/rcd0a here.
Also maybe try /dev/cd0d instead of /dev/cd0a ?

> [...]
> 
> I would also like to be able to make a usb port available to a linux
> domu as well - but that is a lower priority.

We don't provide this functionality yet.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index