Xen PV in HVM

From CSLabsWiki

Jump to: navigation, search

Contents

Summary

This article will explain how to set up the Xen hypervisor within a Xen HVM Guest

Process

Select Hardware

You must have a Xen HVM Compatible Processor and motherboard.

Install a Base OS

See Installing Linux.

Install the Xen Hypervisor

It is recommended that you compile from source. Refer to the version and domain0 specific documentation. An example is given below:

[root@dom0]# apt-get install gawk libssl-dev libx11-dev gettext libncurses-dev build-essential python-dev texlive-latex-base transfig tetex-extra bcc bin86 pciutils-dev git-core curl texinfo libc6-dev-i386 mercurial bridge-utils graphviz
[root@dom0]# wget http://bits.xensource.com/oss-xen/release/3.3.0/xen-3.3.0.tar.gz;
                         tar xzf xen-3.3.0.tar.gz;
                         cd xen-3.3.0
[root@dom0]# make world;
                         cd dist;
                         ./install.sh;
                         depmod -a;
                         mkinitramfs -o /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen;
                         update-grub

Create an HVM Guest

See Creating a Xen HVM Guest.

Install the Xen Hypervisor

Follow the same process as used above.

Create a PV Guest

See Creating a Xen PV Guest.

Personal tools