Which platform are you using? Fedora or debian? which version? Below are some basic steps of building it with pv os kernel in a fedora11 platform:-
- Be certain you have dev tools installed: ‘yum install “Development Tools”‘
- You’ll also need: ‘yum install mercurial gitk dev86 vnc-server
bridge-utils zlib-devel openssl-devel python-devel libX11-devel
ncurses-devel’
Build / Install Xen
- cd /usr/src
- hg clone http://xenbits.xensource.com/xen-3.4-testing.hg
- cd xen-3.4-testing.hg
- make xen
- make install-xen
- make tools
- make install-tools
Build PV Ops Kernel
- cd /usr/src/kernels
- git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git linux-2.6-xen
-
cd linux-2.6-xen
- git checkout origin/xen-tip/master -b xen-tip/master
- make menuconfig (Check the Xen options, I’m too tired to go over them all)
- make
- make modules_install install
Create a Grub Entry:
title Xen 3.4 / Fedora kernel 2.6.30-rc6-tip kernel /boot/xen-3.4.gz module /boot/vmlinuz-2.6.30-rc6-tip root=/dev/mapper/VolGroup01/vg_fedora11 ro module /boot/initrd-2.6.30-rc6-tip.img
Add Entry to /etc/fstab
none /proc/xen xenfs defaults 0 0
Reboot and there ya go…
I still need to bring up the python tools like virt-install and virsh, maybe after I get a break. Regards, Fasiha Ashraf
--- On Thu, 22/10/09, Ahmad Hassan <ahmad.hassan@xxxxxxxxx> wrote:
From: Ahmad Hassan <ahmad.hassan@xxxxxxxxx> Subject: [Xen-users] Building Vanilla source 2.6.31.4 with XEN hypervisor
To: xen-users@xxxxxxxxxxxxxxxxxxx Date: Thursday, 22 October, 2009, 3:22 PMHi, I want to build fresh vanilla source 2.6.31.4 with XEN dom0 hypervisor. Can anyone please help me out on this.
Thanks. -- Best Regards, Hassan http://cern.ch/ahmadh/portfolio
Erasmus Student The University of Reading, UK Aristotle University of Thessaloniki, Greece The University Of Carlos III, Madrid Spain
-----Inline Attachment Follows-----
|