From Segfault
< Xen
Jump to navigation Jump to search


Fedora 13 / Goddard

Fedora won't ship Xen kernel packages until upstream includes a pv_ops dom0 kernel. Current target for release is Fedora 14. Let's see what we have so far:

 # yum search xen | grep ^xen
 xen.x86_64 : Xen is a virtual machine monitor
 xen-devel.i686 : Development libraries for Xen tools
 xen-devel.x86_64 : Development libraries for Xen tools
 xen-doc.x86_64 : Xen documentation
 xen-hypervisor.x86_64 : Libraries for Xen tools
 xen-libs.i686 : Libraries for Xen tools
 xen-libs.x86_64 : Libraries for Xen tools
 xen-runtime.x86_64 : Core Xen runtime environment
 xenner.x86_64 : Xen emulator for kvm
 xenwatch.x86_64 : Virtualization utilities, mostly for Xen

Michael A Young has built unofficial pv_ops dom0 kernel RPMs, so let's try this:

 # wget http://fedorapeople.org/~myoung/dom0/myoung.dom0.repo -O - | \
   sed 's/enabled=0/enabled=1/' > /etc/yum.repos.d/myoung.dom0.repo
 # yum install xen xen-hypervisor xen-runtime kernel-2.6*xendom0*
     -- kernel- conflicts xen < 3.4.3

Our Grub configurations should look like this:

 # grep -A5 Xen /etc/grub.conf
 title Fedora (Xen)
 root     (hd0,2)
 kernel   /xen-3.2.gz
 module   /boot/vmlinuz- ro root=UUID=e36e54ed-09d0-4fa8-baa8-62423aac63c7 rhgb
 module   /boot/initramfs-

Now that our Dom0 kernel is installed, let's enable the HV and xend:

 # echo HYPERVISOR=/boot/xen-4.0.gz >> /etc/sysconfig/kernel
 # chkconfig xend on