Skip to content
avikivity edited this page Nov 9, 2014 · 3 revisions

Building and running Xen + OSv

Official seastar branch during development is seastar-dev glommer/xen

Configure seastar:

`./configure.py --so --disable-hwloc  --cflags="-DDEFAULT_ALLOCATOR -fvisibility=default" --mode release --with=apps/httpd/httpd --with-osv=../osv`

To build against OSv, follow Nadav's instructions in README-OSv. My OSv tree has an extra patch, to disable netfront. At my github tree, you should grab patch 6b3b4928efd1de8fdcf356486dd66341e39b1926

My module.py looks like:

from osv.modules import api
default = api.run(cmdline="--noxennet /httpd --no-handle-interrupt --network-stack native --host-ipv4-addr 192.168.122.79 --smp 1")

To run OSv:

sudo ./scripts/run.py -nvV -c 1

Known issues

Xen sometimes have problems with qcow2. To be in the safe side, I have been always building like:

make img_format=raw image=seastar

Clone this wiki locally