libvirt.tests: Support multiple devices for multifunction test.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add testcases for single_device of multifunction.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add testcases for multi_devices in multifunction.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
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>
virttest: Move nic_script under tap device branch in add_net

nic_script should be parameter for tap devices, so move it to
the right place. And now we can not control guest to use nic_script
or fds with cfg files as tapfds are automatic get by framework functions
only depends on the host env. So update the judgement as if we setup
nic_scritp, will let guest use script, otherwise will try to use fds.

Signed-off-by: Yiqiao Pu <ypu@redhat.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>
Add test for snapshot current and parent

Signed-off-by: Kyla Zhang <weizhan@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>
shared.deps: add eject tool for windows

Add eject.exe tool to support eject/lock/unlock/close cdrom in windows
guest, it should be include winutils.iso;
You can download Source code from git://git@github.com:xutian/C_Study.git;
Build it with "dev c++" tool;

Signed-off-by: Xu Tian <xutian@redhat.com>
shared.deps: add support for reading cdrom tray status  in windows guest

Signed-off-by: Xu Tian <xutian@redhat.com>
virttest: add interface to vm for cdrom eject/change media test

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

Signed-off-by: Xu Tian <xutian@redhat.com>
update cdrom_test cfg to support windows guest

Signed-off-by: Xu Tian <xutian@redhat.com>