Subject: Re: CVS commit: src/sys/arch
To: Juan RP <juan@xtraeme.unixbsd.org>
From: Christian Limpach <chris@pin.lu>
List: source-changes
Date: 03/12/2004 02:23:04
Quoting Juan RP <juan@xtraeme.unixbsd.org>:

> Wow! it's great. How should we test it?

You have to get Xen 1.2 and install it.  Then you need to do:
- prepare and export a nfs root filesystem for the domain using the i386
sets
- build a NetBSD/xen kernel
- boot Xen with Xenolinux in DOM0
- start the NetBSD domain from the Xenolinux domain with the
xc_dom_create.py utility and the netbsd config file included with Xen:
xc_dom_create.py -f netbsd -D
'vmid=VM_ID;ip=DOMAIN_IP;nfsserv=SERVER_IP;nfsroot=/path/to/nfsroot' -m
MEM_MB -k /path/to/netbsd
e.g.: xc_dom_create.py -f netbsd -D
'vmid=1;ip=172.20.4.17;nfsserv=172.20.4.13;nfsroot=/netboot/qube' -m 32 -k
/boot/netbsd
- alternatively modify the config file (/etc/xc/netbsd) to match your
environment

There's also quite a bit of documentation on Xen on the Xen website at 
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/
And if you have a 2nd machine which you can use as the NFS server, you
should be able to use the Xen DemoCD and not have to install Xen.

-- 
Christian Limpach <chris@pin.lu>