Add multiple vms disk error_policy test cases.
Change unhotplug to coldplug.
Test shableable block disk on 2 domains.
libvirt.test: Add abnormal resource test for some commands

These testcases test if commands executed succeed when
resource becomes to abnormal, like lack disk, cpu disable.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt.test: Add some more cases for abnormal resource test

1.Add virsh snapshot-create and virsh dump command test
2.Add memory_lack, disk_lack, cpu_busy, twice_execute test type

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt.tests: Add a case for iscsi disk hotplug testing

Signed-off-by: Yanbing Du <ydu@redhat.com>
Fix pool related cases to recover selinux state.

This commit is base on a virt-test change to recover selinux state
after creating an NFS pool. Besides this change, this commit also
fixed a few bugs.
1) Stop virsh.domblkerror cleanup entire temp directory.
2) Clean virsh.vol_create_from and virsh.vol_download_upload file.
3) Create the file before chmod in virsh.vol_download_upload to
   prevent error.

Signed-off-by: Hao Liu <hliu@redhat.com>
libvirt.tests: add test cases for virsh blkdeviotune

Signed-off-by: Alex Jia <chuanchang.jia@gmail.com>
blockcommit: Add commit base as middle snap cases

Add test case with base as middle snap and fix lines exceed 80

Signed-off-by: Wayne Sun <gsun@redhat.com>
snapshot_par_cur: Add cases for missed option and negative testing

Add negative cases for invalid snapshotname and run command without
snapshot created first. Add positive case for '--name' option.

Signed-off-by: Wayne Sun <gsun@redhat.com>
virsh.dump: Add a negative case and typo fix

Signed-off-by: Yanbing Du <ydu@redhat.com>
virsh.dump: Add tests for including/excluding KVM guest OS memory

Signed-off-by: Yanbing Du <ydu@redhat.com>
snapshot_edit: Add support to handle create snapshot without description

Add new filter case "without_desc" under disk_snapshot, update edit cmd
and snap_xml_compare function to fit the change. Update using CmdResult
according to the snapshot_current function change.

Signed-off-by: Wayne Sun <gsun@redhat.com>
snapshot_edit: Add delete_desc cases

The delete_desc cases is for delete description after snapshot created
with description. Update snap_xml_compare function for check clone and
rename cases.

Signed-off-by: Wayne Sun <gsun@redhat.com>
libvirt.test: Add some more normal/error cases about sync test

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt.tests: add new case into virsh send-key command

Signed-off-by: Alex Jia <chuanchang.jia@gmail.com>
libvirt.test: Add some more normal/error cases for qemu-ga test

Add test for 'guest-ping', 'guest-fstrim', 'guest-fsfreeze-thaw',
'guest-fsfreeze-freeze', 'guest-fsfreeze-status' command

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt.test: Skip test if option doesn't exist

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Add new cfg and py file for misc case
Add 5 cases for misc test