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

xen-devel

[Top] [All Lists]

RE: [Xen-devel] using domain0 file as root disk for domU

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] using domain0 file as root disk for domU
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: 2005年7月18日 13:28:58 -0700
Delivery-date: 2005年7月18日 20:27:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWKE7qikKH7hGYcTemCQx4yvgdm+gBCzOrwAC2L+3A=
Thread-topic: [Xen-devel] using domain0 file as root disk for domU
> > >Can someone provide a pointer to (or if simple,
> > >just a quick reply) how to use a domain0 file as
> > >a root disk for a domU?
> > >
> > >I am able to mount the file as a loopback device:
> > >
> > >mount -o loop,offset=512 -t ext2 /var/xen/sda /mnt
> > >
> > >But how do I specify it in xmdefconfig? I tried:
> > >
> > >disk = [ 'phy:/mnt,hda1,w' ]
> > >
> > >disk = [ '/mnt,hda1,w' ]
> > > 
> > >
> > disk = [ 'file:/var/xen/sda,hda1,w' ]
> > 
> > Make sure you unmount it in dom0 first! :)
>
> Hmmm... when I try this, I get:
>
> Error: Error creating domain: cannot concatenate 'str' and 
> 'NoneType' objects 
In case anyone else runs into this, the problem was that
/sbin was not in my PATH and losetup is used in a script
without a path.
Dan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Does physdev_dom0_hide work with the unstable builds? , Rusty Russell
Next by Date: [Xen-devel] domain_pause and vcpu_pause on currently executing domain? , George Washington Dunlap III
Previous by Thread: RE: [Xen-devel] using domain0 file as root disk for domU , You, Yongkang
Next by Thread: [Xen-devel] [PATCH] safely calculate page number from maxmem , aq
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /