From Fedora Project Wiki

Revision as of 07:12, 4 April 2009 by Ondrejj (talk | contribs)

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
 $> cd ..
 $> git clone 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.