Tests cases for gluster network disks.
virsh_iface: Add acl test cases for virInterfacePtr group apis

Add acl test cases for 'write', 'save', 'start', 'stop' and 'delete'
in virInterfacePtr group.

Signed-off-by: Wayne Sun <gsun@redhat.com>
iface: Add acl case for iface list and dumpxml command

iface list and dumpxml command works by default with no permission
restriction, the commit add test for grant none to test both
command works as expected.

Signed-off-by: Wayne Sun <gsun@redhat.com>
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>
Add try/except for os_dep.command failure

The function os_dep.command() should be surrounded by try/except.
Merge pull request #356 from PandaWei/virt-cmd

Add try/except for os_dep.command failure