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

[Xen-devel] Domain creation tools with Xenbus, without Xend

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Domain creation tools with Xenbus, without Xend
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Mon, 10 Oct 2005 13:12:38 +0200
Delivery-date: Mon, 10 Oct 2005 11:10:03 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KhTWqIrb+VOMxKvd/NnFYbjVsm11ch3HJS93H5SBh2Av6qXE1LQaL1dSP8naQYitWWVjRp3255n4AGFDlMkFBDVQ5jwBZIfd/zxVo3CgrYxOzmAB3D15jJe+baZW0K4chbMoVsPDm8z2eGepPlxSPWfUB6cAj2mn64cstrWQp5Y=
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>
Reply-to: Jacob Gorm Hansen <jacobg@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,

I promised to share my results with getting a domain connected to disk
and net, without involving Xend. My mercurial repository sits at:

http://www.distlab.dk/hg/index.cgi/xen-evilman.hg

My tools are in the tools/migrate directory. They are:

businit.c   :   run this after dom0 boot and after starting xenstored
to init xenstore.
buscreate.c [-p] cfgfile   :   create a domain from settings in cfgfile

The file format of cfgfile is very simple, here is an example:

~ # cat normallinux.cfg
kernel=/vmlinux
initrd=/domUinitrd
cmdline=init=/linuxrc root=/dev/ram init=/linuxrc $1 debug console=tty0
mem=16
maxmem=64
nic=1
vbd=1
console=1

(NB: Please beware that hda1=hda1 is hardcoded for now, that should be
easy to fix in buscreate.c!)

The easiest way to build my tools is to execute 'jam' at either the
top level, or in the tools/migrate subdirectory. The resulting
binaries will end up in the 'build' directory at the toplevel,
statically linked against libxc and libxs. The kernel tree there also
contains my self-migration/self-checkpointing driver which now works
with xen-unstable and linux 2.6, but you will need further explanation
to get that running. Contact me if interested.

My tree also servers as an example of how you can build the tools with
Jam, without polluting your source tree with .o files and similar
nasty stuff.

Jacob

--
Save time and bandwidth with EDelta: http://www.diku.dk/~jacobg/edelta/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Domain creation tools with Xenbus, without Xend, Jacob Gorm Hansen <=