Recent changes in NetBSD
provide the additional tools needed to run unmodified guest domains under a
NetBSD dom0, using Intel VT-x or AMD VMX extensions. So we could potentially
run a NetBSD dom0 and create guest domains under it that run Linux, NetBSD,
and Windows.
The NetBSD release currently provides two xenified kernels:
netbsd-INSTALL_XEN3_DOMU: A kernel that can be used to start the
NetBSD installation. We used this kernel only for the installation.
netbsd-XEN3_DOMU: A kernel that can be used for booting a NetBSD
instance. We used this kernel for booting our guest domain.
CentOS
CentOS is an Enterprise-class Linux Distribution derived from sources provided by
RedHat (http://centos.org/). It tracks the RedHat Enterprise Linux distribution
without any proprietary drivers, is completely free and is hence widely used as a
server platform. The installation media for the CentOS is a cd or dvd. We will install
the CentOS 4.4 server version. The paravirtualised Xen does not support booting
guest domains from a cd-rom or an iso file. So we are going to use another opensource
emulator called QEMU (http://fabrice.bellard.free.fr/qemu/) to boot
the CentOS cd and install into a qemu image. We are then going to take this image
and use Xen to create a CentOS virtual machine that runs off the qemu image. We
could avoid using qemu if we were running Xen on hardware that supports HVM,
such as the Intel VT and AMD Pacifica chipsets. The following chipsets are available
on these processors:
Intel VT
Pentium 4 662 and 672
Pentium 4 Extreme Edition 955 and 965
Xeon MP 7000 series
Xeon 3xxx/5xxx/7xxx
Pentium D 9x0
Intel Core Duo mobile
Intel Core 2 Duo processors (excluding the T5200, T5500,
E4x00, E2xx0)
??? ???
???
?° ?° ?° ?° ?° ?° ?°
Chapter 3
[ 45 ]
AMD Pacifica
Athlon 64
Athlon 64 X2
Athlon 64 FX
Opteron
Sempron
Phenom
Phenom X4
Phenom X3
Phenom X2
Time for Action??”Using qemu to Create a
CentOS Image
We will install CentOS by using the iso image for the 4.
Pages:
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56