声明:
本博客欢迎转发,但请保留原作者信息!
博客地址:http://blog.csdn.net/halcyonbaby
内容系本人学习、研究和总结,如有雷同,实属荣幸!
- 下载xen源码
- 安装依赖包(依赖包装那些,可以参考代码包的README)
- ./configure --enable-githttp
- make world
- make install
- 配置内核启动
# grub2-mkconfig -o /boot/grub2/grub.cfg
# grep ^menuentry /boot/grub2/grub.cfg | cut -d "'" -f2
# grub2-set-default
- 配置服务
chkconfig xencommons on
chkconfig xendomains on
chkconfig xen-watchdog on
- 重启系统
- xl list显示成功
[root@fedora vm]# xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 40375 24 r----- 100.2
参考:
http://wiki.xenproject.org/wiki/Compiling_Xen_From_Source
https://wiki.openstack.org/wiki/CodeReviewGuidelines