From: Sean Dague Subject: Re: xm-test domain creation delay Date: Mon, 14 Nov 2005 11:26:42 -0500 Message-ID: <20051114162642.GD23798@underhill.no-ip.org> References: <20051114154823.GD16045@leeni.uk.xensource.com> <87fypzi5ix.fsf@theine.beaverton.ibm.com> <20051114161025.GE16045@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0854521069==" Return-path: In-Reply-To: <20051114161025.GE16045@leeni.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ewan Mellor Cc: Dan Smith , Xen-devel List-Id: xen-devel@lists.xenproject.org --===============0854521069== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BRE3mIcgqKzpedwo" Content-Disposition: inline --BRE3mIcgqKzpedwo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 14, 2005 at 04:10:25PM +0000, Ewan Mellor wrote: > On Mon, Nov 14, 2005 at 08:00:06AM -0800, Dan Smith wrote: >=20 > > EM> The easiest way to do this would be with the command line tools > > EM> xenstore-read and xenstore-write. If you use these tools without > > EM> the -s option, this should mean that they write using the domain's > > EM> implicit root, so if you don't use a path with a / at the front, > > EM> then the path will be unique per-domain. > >=20 > > This is not quite as easy as it sounds. In order to simply copy the > > user's xenstore-write binary into the ramdisk, we would need to also > > copy several of their libraries like libc and libxenctrl. We could > > recompile a static version of xenstore-write to go into the ramdisk, > > which may work. >=20 > Well it would be better if we could compile and link against the version = of > libc in the ramdisk! That would be a different version of xenstore-write= to > the one that we compile for the user of course, which might be a pain to = do, > but that's the right way to do it. How do all the other applications in = the > ramdisk get compiled now? I agree, building the xentools in build root would be ideal here. I'm not sure how hard it is to integrate it though. I think we've got a more general issue of how to usefully get the xenstore tools into a DomU which may have different build env than Dom0. It would be nice if there was a target to build *only* the xenstore tools expected for DomU, that might help in this regard. -Sean --=20 __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________ --BRE3mIcgqKzpedwo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFDeLrCSamXem9TdyYRApX2AJ0cTJrwvZD3ofcwbJQg7/HatmKbHgCfQY81 DEhVmg2GkEDPadQJwkmQXKw= =qW6B -----END PGP SIGNATURE----- --BRE3mIcgqKzpedwo-- --===============0854521069== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0854521069==--