Solaris dom0 xen-unstable.hg source for developers

本文宣布了Xen不稳定版本已迁移至OpenSolaris社区进行开发。开发者可以下载、构建并运行Solaris dom0 和 Xen 不稳定版。文章提供了详细的步骤指导,并强调这些构建将频繁更新。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 
I'm happy to announce that we have moved the xen-unstable.hg
Solaris dom0 development out to the OpenSolaris community.

For hard core developers, you can download, build, and
run Solaris dom0 and xen-unstable bits following the
instructions at the end of this post. We are currently
sync'd up to changeset #17644 (~May 15th). Hopefully we
will sync up with xen-unstable.hg every week or two.

Sorry, we don't have pre-built binaries available.

For projects using these bits, it's strongly encouraged
that they base off of a snapshot of these bits since
they will be changing frequently.

Special thanks to Jürgen who helped us verify the
bits and already has fixes for a couple of bugs :-)


MRJ


The instructions are still a little rough... But
it's something to start from :-) It's expected that
you are familiar with OpenSolaris development.

Have fun!


-------------------------


make sure the Mercurial MQ extension is enabled
i.e. in ~/.hgrc
==
[extensions]
hgext.mq=



Have the following in your env
==
export EMAIL=username at youdomain dot com
export EDITOR=vi
export SOLARIS_BUILD_TOOLS=/opt


xvm-gate
========
** Grab/setup the b89 xvm sources
--
mkdir xvm-gate
cd xvm-gate
wget http://dlc.sun.com/osol/on/downloads/b89/xvm-src.tar.bz2
bzcat xvm-src.tar.bz2 | tar xf -

** Update the sunos.hg bits
--
cd sunos.hg
rm .hg/hgrc
echo "[paths]" > .hg/hgrc
echo "default = ssh://anon@hg.opensolaris.org/hg/xen-gate/sunos-unstable" >> .hg/hgrc
hg pull -uv

** Remove the xen source and clone xen-unstable.hg (up
to the rev we are currently sync'd to)
--
cd ..
rm -rf xen.hg
hg clone -r 17644 http://xenbits.xensource.com/xen-unstable.hg xen.hg


** Setup the patches needed to compile on Solaris and run
on dom0
--
cd xen.hg
hg qinit -c
echo "[paths]" > .hg/patches/.hg/hgrc
echo "default = ssh://anon@hg.opensolaris.org/hg/xen-gate/devel-unstable-patches" >> .hg/patches/.hg/hgrc
cd .hg/patches/
hg pull -uv


** You *may* need to merge .hgignore at this point..
if you do, it should be the following after the merge.
--
syntax: glob
status
guards


** push the patches to make sure everything is ok
--
cd ../../
hg qpush -a


** build the xvm gate
You need the SUNWgcc packages from >= b87 to be able to build.
--
cd ../
export XVM_WS=`pwd`
export EMAIL="xyz at one.com""
./sunos.hg/bin/build-all full

** if you don't have the b87 gcc packages, you can use the following workaround
env LD_OPTIONS=-L/lib ./sunos.hg/bin/build-all full


To build inside of xen.hg
gmake MAKE=gmake debug=y XEN_COMPILE_ARCH=x86_64 XEN_TARGET_ARCH=x86_64 SOLARIS_BUILD_TOOLS=/opt



For the dom0 kernel, follow the standard instructions
for a onnv based gate.
==
hg clone ssh://anon@hg.opensolaris.org/hg/xen-gate/matrix-unstable
hg clone ./matrix-unstable matrix-unstable-build
cd matrix-unstable-build
wget http://dlc.sun.com/osol/on/downloads/b89/on-closed-bins.i386.tar.bz2
wget http://dlc.sun.com/osol/on/downloads/b89/on-closed-bins-nd.i386.tar.bz2
bzcat on-closed-bins.i386.tar.bz2 | tar xf -
bzcat on-closed-bins-nd.i386.tar.bz2 | tar xf -
setup env script and run nightly.

More information is available @
http://www.opensolaris.org/os/community/on/devref_toc/


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值