svirt_attach_disk: Add test cases for pool volume

Add test cases for netfs pool vol with virt_use_nfs sebool set.
Add iscsi and disk pool vol with check rawio capabilitiy.

Signed-off-by: Wayne Sun <gsun@redhat.com>
svirt_attach_disk: Fix typo and TestNAError usage problem

Fix TestNAError implicit substitue problem and s/successed/succeeded/

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

fix TestNAError usage problem
libvirt.tests: Add testcases for migrating with virtio-scsi devices.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
svirt_attach_disk: Modify rawio capabilitiy check with bit and

Run capsh --decode on host will met problem on rhel6, so change
to use 'bit and' with rawio capabilitiy value.

Bug on rhel6:
  $ capsh --decode=fffffffc00020000
will got endless output in stdout

Signed-off-by: Wayne Sun <gsun@redhat.com>
libvirt.tests: Append lost disk format.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virtual_disks_multivms: Add test case for shared readonly iso img

Add test case for readonly iso for multiple vms, also add check
with seclabel of shared img and iso.

Signed-off-by: Wayne Sun <gsun@redhat.com>
modify for gluster pool and volume test
svirt_start_destroy: Add test cases for baselabel

Add test cases for selinux baselabel, also simplify filter names
in cfg.

Signed-off-by: Wayne Sun <gsun@redhat.com>
timer_management: Re-write test and add more cases

1. No need test all VMs on the host, run cases against one VM is enough.
2. Merge functions which has similar structures and steps.
3. Add more cases to cover specific timer name and 'present' value.

Signed-off-by: Yanbing Du <ydu@redhat.com>
conf_file.qemu_conf: Add test for auto_dump_*

Test auto_dump_* parameter in qemu.conf.

1) Change auto_dump_* in qemu.conf;
2) Restart libvirt daemon;
4) Check if file open state changed accordingly.

Signed-off-by: Hao Liu <hliu@redhat.com>
libvirt.tests: Amendments for migration with virtio-scsi device.

 * For some machine, dns does not work properly, it may
   takes very long time to login.So allow more time for logging.
 * Fix the codes for creating ssh-autologin.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Add libvirt API acl test case for virsh dompmsuspend

Update virsh dompmsuspend test case for test API 'pm-control' in
virDomainPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
dac_nfs_disk: Fix the env restore problem

Fix the qemu conf not restored problem, also update exportfs
option with 'fsid=0' to avoid exportfs problem on fedora.

Signed-off-by: Wayne Sun <gsun@redhat.com>
dac_nfs_disk: Clean up snapshot created imgs

The disk only snapshot img was not cleaned up after reset vm back,
record snapshot disk path after snapshot then clean them up in finally
env restore.

Signed-off-by: Wayne Sun <gsun@redhat.com>
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>
libvirt.tests: Add testcases for qemu monitor commands - blockjob.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add parameter to set multifunction on.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.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>
net_list: Add acl test cases for net-list command

By default the access for network api 'read' and 'getattr' is granted
for unprivileged user, add test case for testing this.

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