libivrt: Fix virsh_domjobabort race condition

Sometimes the virsh_domjobabort test failed with:

error: Requested operation is not valid: no job is active on the domain

because the job finished earlier than the 'domjobabort' command was
issued.  This patch makes all the relevant jobs go out to a named pipe
which doesn't read the whole domain in order to stop the job until the
abort request.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
libvirt: virsh_domjababort: update code for PEP8 compliance.
Moving build.cfg back to the qemu directory

Turns out this change was not necessary and was causing
quite a bit of confusion on other test developers.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.qemu_vm: modify nic hotplug fd

In autotest python get the fd by os.open("dev/net/tun"),
then using getfd pass the fd to the qemu process. some
times the fd number qemu get is not same as parent's fd.
will call nic hotplug error, this patch fix this issue.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>

Conflicts:
	virttest/qemu_vm.py
openvswitch: Fix error due to moving with python modules

makes load_module test working again

Signed-off-by: Jiří Župka <jzupka@redhat.com>
Updating build_install.py to work with newer changes in qxl, spice-vdagent and spice-gtk

Signed-off-by: Swapna Krishnan <skrishna@redhat.com>
Add test for snapshot-dumpxml

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
Add snapshot recovery function here
README.rst: Making python-gstreamer required pkg more prominent
Introducing samples directory

The samples directory is supposed to contain example
tests that one can use as a test skeleton, so they can
get started by simply typing

cp samples/template.py tests/new_test.py

And start editing their new test.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
README.rst: Adding first new test docs

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt: Make test can create env file on its own directory

When I execute libguestfs tests, "libvirt/env" will be updated/created,
there is no env file created in "libguestfs/".So do this modification to
make env file can be created/updated in "libguestfs/" and other test
directory.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
qemu: Add sr_iov_irqbalance test case.

This case check whether irqbalance service works in guest with vf/pf.

Signed-off-by: Feng Yang <fyang@redhat.com>
use blacklist instead of whitelist to filter out unsupported platform

so even there's new release we dont have to modify the cfg
and watchdog device is supported on all Linux distro

Signed-off-by: Xiaoqing Wei <xwei@redhat.com>
libvirt: rename all libvirt tests from virsh_* to virsh.*

This rename is useful for testers who wants to run only virsh tests
and don't wan't to write list of all available tests. Now to run
all virsh tests just execute './run -t libvirt --tests=virsh'.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
virt-libvirt: Remove all virt_test_type Params

Signed-off-by: Chris Evich <cevich@redhat.com>
virttest.virsh: Add virsh iface-{begin, commit, rollback} commands function wrapper

Signed-off-by: Alex Jia <ajia@redhat.com>
libvirt.tests: Add host network transaction test cases

Signed-off-by: Alex Jia <ajia@redhat.com>
libvirt.tests: Fix iface_trans test for latest next.

* Move test module to tests/src/virsh_cmd/interface
* Remove useless blackslashes.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.utils_libguestfs: Add quotation marks for write commands' parameters.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>