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>
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>
blockcommit: Add snpashot during active-commit negative case

When blockcommit without --pivot, block job will still be
active-commit, doing snapshot at this phase will fail.

Signed-off-by: Wayne Sun <gsun@redhat.com>
blockcommit: Add block disk type test cases

For block disk in vm, use connected iscsi block disk. Before
snapshot and block commit, setup iscsi env and copy vm os disk
to iscsi backing store file which will enable vm booted with
full os, then start vm and do testing.

Signed-off-by: Wayne Sun <gsun@redhat.com>
blockcommit: Add file disk type with image on mounted nfs dir

Replace domain image with image file on mounted nfs dir, then
do snapshot and block commit testing.

Signed-off-by: Wayne Sun <gsun@redhat.com>