virttest.qemu_devices: Lose verbose=False incompatible with at 0.14

This is an attempt to better fix the issue where system_output
doesn't have the verbose parameter in autotest 0.14. It is better
and less desruptive to simply lose the parameter, and we can
get it back once 0.15 rpms are available on Fedora.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt: Improve runtime of utils_net unittest

Reduced the internal Cartesian variant set while retaining
testing of key values.  The result is much faster unit-testing
while loosing very little in depth.

Signed-off-by: Chris Evich <cevich@redhat.com>
virttest.qemu_devices: Workaround for RHEL5

RHEL5 doesn't support both 'aio' and 'id' for drive
files. So check whether such options are supported
and don't add them in case they are not.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge branch 'next' - Virt Test 2013.09.03
utils_libvirtd_unittest: remove skipIf to avoid incompatible issue for python2.6

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
tests.cfg: Set up the lowest_mem for unattended_install

As we try to shrink memory size when host don't have enough huge pages.
unattended_install may fail because guest don't have enough RAM in Linux guests
when we start guest with huge pages. This is caused by anaconda memory size
check. For newest RHEL and fedora the lowest memory size is 512M. So set up the
it to 512M in cfg file.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virt: Remove vcpucount_live() and fix vcpucount() in virsh.py

1. Remove vcpucount_live() and modify virsh vcpupin test file
2. Remove a unused parameter 'vcpu' in virsh vcpupin test file
   which was found by run_pylint.py
3. Add return value for vcpucount()

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #823 from ypu/low

 tests.cfg: Set up the lowest_mem for unattended_install
virt: Adds cart config variant name to file mapping.

Allows better tests printing.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt: Improves list tests function.

Allow use the new params built-in variable which maps file to variant name.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt: Adds possibility to filter tests based on netconf.

Some of tests not works with nettype=user, but there wasn't
good way how to filter the tests.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt: Fix libguestfs test.cfg to be able be started with ./run

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt: Adds subtests variants name.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt: Allows filter only subtests specific for test type.

Test type: qemu, libvirt, openvswitch, libguestfs.
Adds parameter "--type-specific" to command run.
By adding this parameter run filter only type specific subtests for
list and for running the tests.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virt: Adds qemu_img and bridge_mode process to general_options.

qemu_img is necessary for some libvirt and libguestfs tests.
bridge_mode is necessary for some libvirt and libguestfs tests too.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
virttest.qemu_devices: Support blk_extra_params

blk_extra_params were accidentally left out while rewriting
images creation. Split them and assign them as normal params.

NOTE: This version would work only for params in the standard way
      %s=%s,... Currently I haven't found any other use so I hope
      this will last for ever.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>