virt:Fix a hidden bug in virt_filesystems

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt:Add a function to get primary disk filesystem type

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
qemu.test: make migration_with_netperf support windows guest

This patch make migration_with_netperf test support windows guest.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
virttest.utils_netperf: make the remote netperf path independent

This patch make the netperf path independent, the script will
re-geting the netperf package name when decompress the compressed
package.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
test.qemu.test: Refactor the code of netperf_udp

This patch refactor the code of netperf_udp using utils_netperf.
also make this test support windows guest.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
qemu.test: modify the configration of virtual_nic_send_buffer

We need update the configration of virtual_nic_send_buffer, sinece
refactor the netperf_udp

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
virttest: Support get VF from specified sr-iov PF.

We can set device_name to PF's devname in host.

If PF not specified, will try to get VF from all PF in turn.

Signed-off-by: Feng Yang <fyang@redhat.com>
sr-iov: virttest.test_setup: Try to get more pxception when VF/Pf clean up command fail.

Also delete self.dev_unbind_drivers.

Signed-off-by: Feng Yang <fyang@redhat.com>
virttest.test_setup: Add devices parameter for get_pf_devs() and get_vf_devs()

Signed-off-by: Feng Yang <fyang@redhat.com>
virttest.test_setup: Check available before load/unload self.driver.

Sleep 3s after loading self.driver.

Signed-off-by: Feng Yang <fyang@redhat.com>
libvirt-bench: Add test for domstate switching with iozone.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
utils_test: Enhance the run_autotest to support Client-Server model test.

Make host run server procee and copy the autotest to guest to run the client
process.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
tests: Introduce netperf into autotest in virttest.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
utils_test: add ignore_status in BackgroundTest.join().

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt_bench: Add test for dump with netperf.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt_bench: Add test for ttcp from guest to host.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Utils_test: use utils.rmdirs() to replace shutil.rmtree().

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt-tests: fix a typo in libvirt_bench_domstate_switch_with_iozone test.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt_bench: Adapt the test entry point method name to 'run(..)'.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virttest.utils_libguestfs: Add methods to Guestfish class for volume.

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