libvirt.tests: Enhancements of stress migration tests.

* Support migration in thread for expanding.
* Fix bugs and some pylint problems.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add cross migration test for virsh_migrate_stress.

Cross migration:
local     =====      remote
           <-         vm1
vm2        ->
~~
           <-         vm2
vm3        ->

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add migration testcases when vms are booting.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Expand stress type for migration stress test.

 * Seperate cpu and memory stress of stress tool.
 * Add timeout parameter for migration threads.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Running stress tool on host for stress migration.

Do migration when stress tool is running on host:
1.Half of total memory is consumed.
2.Host is short of memory(Free memory is not enough for vms.)

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add network check after migration for stress migration test.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.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>
virt: Add gracefunlly or kill_vm_before_test

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
adding qemu sandboxing option

Adding new command line argument to "./run" script: "-s,--qemu_sandbox".
It enables the Qemu command line argument "-sandbox on", running all
tests with the system call filter turned on.

Signed-off-by: Eduardo Otubo <otubo@linux.vnet.ibm.com>
virttest.utils_net: Support multiqueue macvtap

This patch make autotest support multiqueue Macvtap

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Add msix vectors support

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

Conflicts:
	virttest/qemu_vm.py
tests.nic_hotplug: make nic_hotplug support msix vectors

Support a nic with msix vertors

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
test.multi_queues_test : Add some tests for multi queues

This patch add some tests for multi queues.

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

Conflicts:
	tests/enable_mq.py
qemu.test.virtual_nic_send_buffer: Some modification

Make file transfer support tcp, udp or both.
Add netperf_udp burst test
ignore errors when deleting the test file on host and guest.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
virt.tests: autotest.cpuflags test fix

Add control file to shared.control and update compress command to
compress virt dir to source tarball because autotest.cpuflags test
requried it;
Update compress result command to ignore core dump and crash file to
avoid compress or scp failed;

Signed-off-by: Xu Tian <xutian@redhat.com>
Merge pull request #934 from xutian/fix_autotest_cpuflags_stress

virt.tests: autotest.cpuflags test fix
virttest.utils_libguestfs: Add inspect functions for Guestfish class.

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