virt-libvirt: Helpful exception for SELinux enforcing

Signed-off-by: Chris Evich <cevich@redhat.com>
virttest: rename params in QemuImg.convert()

rename image_name_tag to convert_name_xx, because if image format not
change when convert, converted image will over write original;

Changes from V1:
    replace params.get() with params[] to avoid missing param errors.

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.tests: new class for qemu-img function tests

Implement some basic operations for qemu-img function tests

Changes from V1:
    replace params.get() with params[] to avoid missing param errors.

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.tests: add qemu_disk_img_convert tests

Implement to test qemu-img convert function; convert base image or
snapshot image from one format to another format, then check image content
not changed after image convert;

Changes from V1:
    replace params.get() with params[] to avoid missing param errors.

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.tests: add qemu_disk_img_commit test

Implement new test to check qemu-img commit function;

Changes from V1:
    replace params.get() with params[] to avoid missing param errors.

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.tests: add qemu_disk_img_rebase test

Implement new test to check qemu-img rebase function

Changes from V1:
    replace params.get() with params[] to avoid missing param errors.

Signed-off-by: Xu Tian <xutian@redhat.com>
virt: Fix issue 463

SubdirList.__set_initset__() was modifying the contents of
a list while iterating over it.  This caused every-other
subdirectory to be skipped when building a flat tree list.

Signed-off-by: Chris Evich <cevich@redhat.com>
virt: Reduce extranious test-search debug

If a test cannot be found, the list of searched subdirectories
will be included in the exception.  Otherwise, assume users
aren't interested in seeing the entire tree every run.

Signed-off-by: Chris Evich <cevich@redhat.com>
check_patch.py: Avoid IndexError when checking git status

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.tests: Updates to smbios_table

Compare SMBIOS data among different machine types

This patch modify smbios_table, add smbios three smbios type
and machine type test(-M) support.

You can run smbios_table using "-smbios type=0" "-smbios type=1"
or both of them in test,and you can run test using diff machine type.

[V3] update base upstream, make all the option and command configurable.
[V4] modify some format problem

signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Acked-by: Suqin Huang <shuang@redhat.com>

qemu.test: Make smbios_table to run on Fedora guests

Add a parameter to test the options not set on Fedora.
And fix the params error when extra_params is empty.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
test.nic_promisc : make nic_promisc support windows guest

This patch make nic_promisc test support windows guest