Re: Question about KVM-test

Ryan Harper
2007-10-30T14:46:43Z

* Alexey Eremenko <alexey.eremenko-atKUWr5tajBWk0Htik3J/w@public.gmane.org> [2007-10-30 04:26]:
>
> It seems nice !
>
> But is there any documentation ? I don't know how-to start it.

Have you read the wiki page?

http://kvm.qumranet.com/kvmwiki/KVMTest

basically, you want to use kvm-test-record where you would normally use
qemu. So, if you launch your guest with:

qemu -hda /dev/hda1 -boot d -snapshot

You would run:

kvm-test-record -hda /dev/hda1 -boot d -snapshot

In the screen that pops up, there is a menu item ("Barriers") where you
can make a barrier. When you are done making barriers for this guest
run, you can replay the session using:

kvm-test-replay in the same directory where the vm.log and screenshots
were recorded. kvm-test-replay will re-run qemu as you invoked it with
kvm-test-record and attempt to inject the same inputs at the recorded
time intervals and match the barriers if any exist.