Maintain xen- in sync with

As of 06/09/2010 checkout either xen/stable or xen/stable-2.6.32.X branch will generate pvops kernel which in meantime requires 4.0.1 Hypervisor at least. Procedure bellow briefly describes how to update xen- to stay in sync with tip of the mercurial Xen rpms created during corresponding rpmbuild run been installed will allow to create Xen 4.0.1 Dom0 with kernel running on top of F13.

cd /usr/src
hg clone
cp -R xen-4.0-testing.hg xen-4.0.1
cd xen-4.0.1
git clone qemu-xen.git

cd ..
vi and update as follows

# Specify which qemu-dm to use. This may be `ioemu' to use the old
# Mercurial in-tree version, or a local directory, or a git URL.
CONFIG_QEMU ?= ../qemu-xen.git
QEMU_TAG := xen-4.0.1-rc1
#QEMU_TAG ?= f1d909f0f854194f5a40d850886d1413fb8b63c2
# Wed Mar 24 17:16:51 2010 +0000
# Make hweight32 function static

Create xen-4.0.1.tar.gz archive and copy to /root/rpmbuild/SOURCES
Update xen.spec as follows

Summary: Xen is a virtual machine monitor
Name: xen
Version: 4.0.1
Release: 5.7%{?dist}
Group: Development/Libraries
License: GPLv2+ and LGPLv2+ and BSD
# Source0:{version}.tar.gz
Source0: xen-%{version}.tar.gz

Now build
# rpmbuild -ba ./xen.spec
Generated in ../RPMS/x64_86 rpms will install current xen-4.0.1 version

yum install xen-4.0.1-5.7.fc13.x86_64.rpm \
xen-debuginfo-4.0.1-5.7.fc13.x86_64.rpm \
xen-devel-4.0.1-5.7.fc13.x86_64.rpm \
xen-doc-4.0.1-5.7.fc13.x86_64.rpm \
xen-hypervisor-4.0.1-5.7.fc13.x86_64.rpm \
xen-libs-4.0.1-5.7.fc13.x86_64.rpm \

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: