autotest/autotest — pull request #119 by cevich (2011-12-21 17:12:25+00:00)
Title: Simple virt config merge

Rather than make lots of code modifications, I took the largest set of common sample config content and moved it under into client/virt/. I left behind the configs for build, unittests, and tests since those were the most dissimilar.

The only major exception was with guest-os.cfg.sample, where some workaround code was needed in libvirt_vm.py to support a more generic handling of kernel/initrd files. However, the closely related sections of the unattended_install test is due for cleanup anyway. I added a note to also fix the workaround code at that time.

Finally, I made a minor tweak to the virt_test_assistant() function (used by get_started.py) such that it copies ALL *.cfg.sample files from wherever they are, into the tests/kvm or tests/libvirt directory. In other words, after running get_started.py, all .cfg files end up in the same place as before. If in the future they too need to go into a common location, this function will need to be updated again anyway.