libvirt.tests: Fix parameter error of migrate-setmaxdowntime.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Add VG related test case
libvirt.tests: Fix migrate stress problems.

 * Vms will be popped in cross migration, so creating them again
   for cleanup.
 * If local vms use lan, geting address would be failed on remote
   host, so storing ips before migration.
 * Fix stress_args parameter.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Add test case for vg_activate, vg_activate_all, vglvuuids, vgpvuuids
libvirt_bench: make ttcp_from_guest_to_host works for vms rather than only for main_vm.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
tests.migrate_stress: Set autologin for remote host.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
tests.migrate_stress: Do not check IP in cross migration.

In cross migration, vm in list may be migrated back after pairs of
migration and it's not easy to track them, so skipping IP checking here.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virsh.setvcpus: fix remote test

The variables error and status_error should be configured before the
try-except block as they must exist always when it comes to return.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
virsh.vcpucount: fix 'guest_option' test case

There was a missing option whether we are running 'guest_option' test
case to properly start a guest agent in the guest.

I've also properly updated the first occurrence of that condition.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
test.volume_application: Fix vm process error.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
test.volume_application: Fix installation problems.

 * As this line in unattended_install module:
   [vm = env.get_vm(params["main_vm"])]
   It needs 'main_vm' and a VM object for a new installation.
   So new vm should be registered to env.
 * Unattended_install sets kickstart ISO to /dev/sr0 as default.
   So changing the cdroms order to fit this.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #146 from yumingfei/migration_enhancements

Libvirt.tests: Migration tests' enhancements
Merge pull request #210 from Antique/setvcpus

virsh.setvcpus: fix remote test
Merge pull request #213 from Antique/vcpucount

virsh.vcpucount: fix 'guest_option' test case
Merge pull request #194 from yangdongsheng/ttcp

libvirt_bench: make ttcp_from_guest_to_host works for vms rather than on...
Merge pull request #195 from vanbogithub/bfan-dev

Add some VG test case
Merge pull request #214 from yumingfei/volume_app_enhancements

tests.volume_application: Fix installation.