From Fedora Project Wiki
kvm-autotest is an effort by KVM developers to create a suite of regression tests for KVM.
Fedora virtualization testers can help improve KVM by running kvm-autotest on their own hardware. The kvm-autotest wiki contains some instructions on doing this, but to get started quickly try the following:
$> yum install qemu-system-x86 qemu-img $> mkdir -p ~/autotest/iso && cd ~/autotest/web $> wget http://download.fedoraproject.org/pub/fedora/linux/releases/8/Fedora/i386/iso/Fedora-8-i386-DVD.iso $> cd .. $> git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-autotest.git $> mkdir -p /tmp/kvm_autotest_root/{iso/linux,images} $> ln -s ~/autotest/iso/Fedora-8-i386-DVD.iso /tmp/kvm_autotest_root/iso/linux/ $> ln -s /usr/bin/qemu-kvm /tmp/kvm_autotest_root/qemu $> ln -s /usr/bin/qemu-img /tmp/kvm_autotest_root/qemu-img $> cd kvm-autotest/client/tests/kvm_runtest_2 $> cp kvm_tests.cfg.sample kvm_tests.cfg # FIXME: this is lame, just disables kvm_install $> sed -e 's/^\(job.run_test\)/#\1/' < control > control.fedora
and then as root:
$> ../../bin/autotest ./control.fedora
Any errors encountered should be reported via bugzilla.
Note: this requires Fedora rawhide and at least qemu-0.10-5.fc11.