From: Nathan Lutchansky Subject: Re: Really really small xen0 Date: Mon, 8 Nov 2004 11:39:05 -0500 Message-ID: <20041108163905.GB11808@litech.org> References: <001101c4c5a2$67272910$6400a8c0@gandalf> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Return-path: Content-Disposition: inline In-Reply-To: <001101c4c5a2$67272910$6400a8c0@gandalf> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org --DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 08, 2004 at 09:51:12AM -0500, Barry Silverman wrote: > I was wondering if anyone has made a really minimal xen0 image. By this > I mean an image that doesn't have much more than the kernel (f/e and b/e > drivers linked in), and run from a crom or squashfs filesystem, and a > minimal set of tools running in a busybox-like init process.=20 I've had good luck with similar projects using the uClibc buildroot kit, which is intended for making tiny root filesystems for embedded systems but also works with x86 PC systems. There's not much documentation for it but see the CVSweb at to see what it comes with. It can make an initrd that will boot with exactly the software you want to run and a tmpfs for /tmp, /var and so on, but no changes to the filesystem can be saved. It comes with build scripts for Python and bridge-utils, but you'd have to add Twisted and the XEN tools. I secure my dom0 by only making it accessible over the console/serial port and not even giving it an IP address (except on the loopback IF). It acts as a layer-2 bridge only. This is still vulnerable to security bugs in the hypervisor and VBD/VIF data paths, of course, but it's much better than the typical config. -Nathan --DBIVS5p969aUjpLe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBj6EpTviDkW8mhycRAta4AJ9nTmtUZyo4qd8R6HVk3WiKePMHWwCgqf1I 2kbtUpqsK8jE6zSpNvlFjLs= =8/PJ -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe-- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click