WARNING - OLD ARCHIVES

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

xen-devel

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

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] dynamically allocating loopback devices?
From: Kip Macy <kip.macy@xxxxxxxxx>
Date: Fri, 11 Mar 2005 14:18:43 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, ian.pratt@xxxxxxxxxxxx
Delivery-date: Fri, 11 Mar 2005 22:19:13 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ONftqR4uDBPURDVUi+qMqnCcRsailN4WnkEU1z65heLfO+KeceyFDk8iUGDrgy2BlxUK6dqzRDIaBPLijah+AGeo3/IFD5MVazwUTgUZx8TvmbwfFuUjKtO+kOELvIsBdMqv3MVCtYWmKWSkbrVxcBDLEqrrMUrTNcgFj7T+ZUI=
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E35E5@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D1E35E5@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Kip Macy <kip.macy@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
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

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