Tests cases for gluster network disks.
libvirt.tests: Add testcase for ethernet iommu group.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
blockcommit: Add active commit test cases

Since libvirt 1.2.4, active commit is supported, add test case to
cover this.
After snapshot and blockcommit, check the backing chain in disk
xml via backingStore element.

Signed-off-by: Wayne Sun <gsun@redhat.com>
libvirt.tests: Add vfio testcases for fibre device.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virsh.setmem: Case extend to cover more functional scenarios

Signed-off-by: Yanbing Du <ydu@redhat.com>
blockcommit: Add guest agent testing case

Active block commit will do fsfreeze when ga around, without ga it
also works but no fsfreeze.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Remove setting of server.allow-insecure for gluster volume according to virt-test#1819.
libvirt_qemu_cmdline: Add case for memoryBacking check

Signed-off-by: Yanbing Du <ydu@redhat.com>
blockcommit: Add test cases for iscsi network disk

For testing blockcommit with iscsi network disk vm, update domain
xml with iscsi network disk with reset_domain function.

The test aim to test iscsi disk with full os, so after iscsi lun
created, convert vm disk to the lun backing store raw file on
server use qemu-img command.

Signed-off-by: Wayne Sun <gsun@redhat.com>
blockcommit: Add test cases for gluster network disk

Similar to previous commit ac65ca1 for iscsi network disk, convert
current vm os disk to gluster disk file, update vm xml and testing
snapshot and blockcommit.

Signed-off-by: Wayne Sun <gsun@redhat.com>
libvirt.tests: Add more testcases for VFIO and bugfix.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Fix attributes' error of channel.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
storage_discard: Fix fstrim bugs.

* For new version, the output will include human-readable format(Mib)
  Force to use bytes to parse the fstrimmed size.
* Increase the timeout of fstrim because for large device(>1G),
  it may take more time.
* Output the result of vgthin for debug.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
storage_discard: Some adjustments for testing.

*Always closing session after logining to vm.
*Change timeout to allow fstrim with large disks.
*Use a new vm for easy cleanup.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Add ttcp test for network.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Support automatic iscsi device for migrate-virtio-scsi test.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Unify paramters for migration tests.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
tests.migrate: Remove copy_storage testcases from live migration.

Migrate vm with --copy-storage-all/--copy-storage-inc work not
well with live migration.And since it's already complemented
in virsh.migrate_copy_storage, remove them here.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
at_dt_iscsi_disk: change the way of checking return for snapshot_info/snapshot_list

Duo to the return dict object of virsh.snapshot_info/virsh.snapshot_list
has no attribute 'exit_status', libvirt.check_exit_status can't be used to
check the return of virsh.snapshot_info/virsh.snapshot_list.
virsh.cpu_baseline: Remove tmp file

Signed-off-by: Yanbing Du <ydu@redhat.com>