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

Re: [Xen-devel] dynamically allocating loopback devices?



> I was confused by the fact that xm insists on it being present in DOM0.
>
> disk = [ 'file:/u/kmacy/mdroot-5.3,xbd0,w' ]
>
> kmacy@shemp sh -x ~/xentmp/xenargs.shemp
> + xm create -f /u/kmacy/xentmp/freebsd.shemp -c
> name=xen-vm2.lab.netapp.com vmid=10 kernel=/u/kmacy/kernel
> Using config file "/u/kmacy/xentmp/freebsd.shemp".
> Error: Error creating domain: vbd: Device not found: xbd0

That's because it used to stat the device node in dom0 so that it would know 
what major / minor to tell the domain to use.  Xend has since been patched to 
not require this, I'm not sure what trees it was checked into, though

Cheers,
Mark

> Thanks.
>
>           -Kip
>
> On Fri, 11 Mar 2005 22:09:04 -0000, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx> 
wrote:
> > > That allows me to bypass the losetup, but what about device
> > > allocation? - the examples I see all look like
> > > disk = [ 'file:/u/kmacy/mdroot-5.3,loop7,w' ]
> >
> > file: does do the loop device allocation. The second parameter is the
> > device you want the vbd to appear in the guest as, i.e. usually sda1 or
> > hda1.
> >
> > 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.