Fedora Test Days

From Xen
Revision as of 10:11, 30 October 2012 by Dariof (talk | contribs) (Installing libvirt & C.)

What are Fedora Test Days

According to the Fedora Project's Wiki, Fedora Test Days are "an opportunity to exercise a completed, or in-development, Feature planned for an upcoming Fedora release. Each Test Day brings something unique and you're encouraged to join and share your ideas, tests, and results."

For Fedora 18, the complete schedule of Test Days can be found here. To know what Test Day is Today?, just go to this page.

Test Days happen (typically) on IRC in the #fedora-test-day channel on Freenode.

Fedora Tests Days and Xen

It is common practice for one of the Test Days to be about Virtualization. That is why the subject is relevant to this Wiki: the Fedora Virtualization Test Day is a real good occasion to verify how Xen will work in the upcoming version of the distribution.

The Virtualization Test Day for Fedora 18 is happening on 2012-11-01

Preparing the Host

It may sound obvious, but the first thing one needs to test how Xen works on a new Alpha/Beta release of Fedora... Is an actual host machine equipped with such a release of Fedora (18 Beta TC6 at the time of writing). This section quickly goes through the various steps needed to get there.

Obtaining the Install Media

During Beta phase, a reasonable image to download for your testing can usually be found here. (Note that, in all the subsection below, the 18-Beta-TC6 part is just a placeholder; all are valid URLs at the time of writing, but it should be changed accordingly, depending on when testing happens.)

DVD or Live Images

Full DVD installer images are available here:


While LiveCD images can be fetched at this url:



in a PXEboot environment, kernel and RAMfs for the installer can be downloaded via the following commands

wget https://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC6/Fedora/x86_64/os/images/pxeboot/initrd.img
wget https://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC6/Fedora/x86_64/os/images/pxeboot/vmlinuz

Installing the Host

Installing and Configuring Fedora

This should happen in the usual way you install Fedora. Given the very specific purpose of this installation (testing running VM with Xen on Fedora), anything you can find in the Categories Category:Host Install and Category:Host Configuration on this Wiki can be considered useful.

Also, the Fedora Host Installation (still on this Wiki) contains some more specific information about the subject, especially useful post-install Xen-related configuration tips.

Installing Xen

Just do:

yum install xen

And you're all set, the hypervisor plus all its dependencies will be installed, GRUB menu will be updated, etc.

Installing libvirt & C.

Almost all the [XXX TestCases] for the Fedora Virtualization Test Day will require you to use libvirt or virt-manager, so let's install them via (tested on Fedora 18):

yum install libvirt-daemon-xen libvirt-daemon-config-network libvirt-daemon-driver-network virt-manager python-virtinst libguestfs-tools-c

Using a Live CD

A LiveCD can be used as well. Although probably less powerful as a testing environment, it may turn out to be very convenient, in case you don't have any spare hardware handy. Instruction on how to create a Fedora Live CD can be found [XXX here].