Define reasonable defaults for the kvm test, to make it easier to start using KVM autotest and encourage people to play with it. The defaults are: * qemu and qemu-kvm are expected to be found under /usr/bin. * The auxiliary directories are expected to be found under /tmp/kvm_autotest_root, since some people might want to use a nfs share to provide cds. A first time config script will be provided to assist people creating their first kvm test setup so it can be done answering a few questions and leaving the heavy lifting to the script. Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx> --- client/tests/kvm/tests.cfg.sample | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/client/tests/kvm/tests.cfg.sample b/client/tests/kvm/tests.cfg.sample index c478ba2..23f50ba 100644 --- a/client/tests/kvm/tests.cfg.sample +++ b/client/tests/kvm/tests.cfg.sample @@ -6,19 +6,18 @@ include cdkeys.cfg # Modify/comment the following lines if you wish to modify # the paths of the image files, ISO files, step files or qemu binaries. -# If you keep these lines commented, all mentioned paths are expected -# to be found in the KVM test dir (tests/kvm/). -# On the example below: +# +# As for the defaults: # * qemu and qemu-img are expected to be found under /usr/bin/qemu-kvm and # /usr/bin/qemu-img respectively. # * All image files are expected under /tmp/kvm_autotest_root/images/ # * All iso files are expected under /tmp/kvm_autotest_root/isos/ # * All step files are expected under /tmp/kvm_autotest_root/steps/ -#qemu_binary = /usr/bin/qemu-kvm -#qemu_img_binary = /usr/bin/qemu-img -#image_name.* ?<= /tmp/kvm_autotest_root/ -#cdrom.* ?<= /tmp/kvm_autotest_root/ -#steps ?<= /tmp/kvm_autotest_root/ +qemu_binary = /usr/bin/qemu-kvm +qemu_img_binary = /usr/bin/qemu-img +image_name.* ?<= /tmp/kvm_autotest_root/ +cdrom.* ?<= /tmp/kvm_autotest_root/ +steps ?<= /tmp/kvm_autotest_root/ variants: - @full: -- 1.6.6 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html