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>
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>
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>
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
libvirt.test: Fix a typo in qemu-agent-command test

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt.test: Fix bugs and remove cases from detach-device

1.Remove some cases for cdrom test
2.Check if option is supported by libvirt

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Move some common functions to utils_test.libvirt.py
libguestfs.tests: Recover to vdx if listed disk is virtio.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>