virttest: Restore the working dir in download_test_provider

After check the repo informations we should restore the working
dir to original one. Otherwise it will cause problems after we
call it in our scripts.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest: Remove sit0 in get_linux_ifname of utils_net

sit0 is IPv6-in-IPv4 device added in system which not represent devices
added by vm.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
utils_libvirtd: Don't need to wait if start failed

If libvirtd service start or restart failed, just checking the exit code
will be enough, we don't need to wait 60 seconds to check whether a
virsh command can be executed.

Signed-off-by: Hao Liu <hliu@redhat.com>
virttest.utils_misc: Support url in get_path().

Signed-off-by: Feng Yang <fyang@redhat.com>
virttest.utils_netperf: Add netperf class.

Add netperf class as base class.

Support netperf client in windows guest.

Support install parameter to control whether install netperf or not.

Signed-off-by: Feng Yang <fyang@redhat.com>
Add APIs: fill, fill_dir, strings, head, head_n, tail, pread, ls
virttest.utils_sasl: add SASL common utilities

Signed-off-by: Alex Jia <chuanchang.jia@gmail.com>
libvirt_xml: Introduce a method get_section_string() in base

Sometimes we need to get the all element in xml, this
method will return a string of a element.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
cfg.base: Add migration relative parameters.

Use remote_ip and local_ip as destination and source host
for migration may disturb libvirt tests. So separate them
only for migration relative tests.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Add address slot to interface xml.
Merge pull request #1700 from ypu/asset

virttest: Restore the working dir in download_test_provider
Merge pull request #1723 from shi2wei3/file_dir_APIs

Add APIs: fill, fill_dir, strings, head, head_n, tail, pread, ls
Add APIs: fill-pattern, hexdump, more
virt: Add lxc filter for vm pid file

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt_vm: add is_xen() method

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt: add a configuration file named drivers.cfg

Currently, the special configurations for specific driver is rewrite
in setting params of libvirt_vm.VM. This patch move this work to the
configuration file parsing.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Merge pull request #1739 from shi2wei3/file_dir_APIs

Add APIs: fill-pattern, hexdump, more
libvirt_vm: recreate serial in lxc.wait_for_login()

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Merge pull request #1741 from yangdongsheng/undefine

libvirt_vm add is_xen method into libvirt_vm.VM.
Merge pull request #1738 from liyangfnst/get_vm_pid

virt: Add lxc filter for vm pid file