libvirt.tests: Add testcases for migration with copy-storage-inc/all.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add testcases for lvm type storage migration.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add abnormal testcases for storage migration.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
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_copy_storage: Fix bugs.

 * LVM should be block device for domain.
 * New created vm should be cleaned up anyway.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
tests.migrate_speed: Expand test cases with verifying speed.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
snapshot_disk: Add snapshot_delete cases without '--metadata' option

External disk only snapshot is not supported with delete yet, but internal
snapshot delete is supported. Update test case and cfg to support testing
this.

Add filter 'delete_test' to cover 6 new delete cases, put exist cases
under 'no_delete'.

The original cases total is 27, now with 6 new delete cases, total will
be 33.

Fixed few lines with column length exceeds 80.

Signed-off-by: Wayne Sun <gsun@redhat.com>
snapshot_disk: Fix error cases for internal diskonly and external revert

Internal disk only snapshot will fail since commit d2e668e in libvirt
1.2.5, and external revert will fail since d410e6f in libvirt 1.2.3.

Following bugs is tracking for this:
https://bugzilla.redhat.com/show_bug.cgi?id=1071264
https://bugzilla.redhat.com/show_bug.cgi?id=1083345

Signed-off-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Wayne Sun <gsun@redhat.com>
libvirt.tests: A new test case for iface-bridge/iface-unbridge

Signed-off-by: Yanbing Du <ydu@redhat.com>
tests.migrate_speed: Adjustment for checking TestNAError.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
acl-tests: fix config files for all acl test cases that use vm name

We definitely shouldn't hardcode any name or config options in the
tests or tests configs unless there is no other way, and this is not
the case. Let's say that someone for some reason change the main_vm
name and suddenly a lot of acl tests are for unexpected reason broken.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Merge pull request #128 from will-Do/iface-bridge

libvirt.tests: A new test case for iface-bridge/iface-unbridge
svirt: add a variant to shutdown vm with virsh shutdown command.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
inspector: Fix some problems found by inspector.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
svirt: fix some bug in svirt.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Merge pull request #204 from Antique/fix-acl-tests

acl-tests: fix config files for all acl test cases that use vm name