Add multiple vms disk error_policy test cases.
Change unhotplug to coldplug.
Test shableable block disk on 2 domains.
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.tests: add new case into virsh send-key command

Signed-off-by: Alex Jia <chuanchang.jia@gmail.com>
Add new cfg and py file for misc case
Add 5 cases for misc test
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>
libguestfs.tests: Make vm is down before testing.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
guestfish.tests: Fix wrong vm setting for cloned vm.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libguestfs.tests: Check only volume name in vm.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libvirt.tests: Add test module for vm disk's discard.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Change fs creation method to utils_test.libvirt.mkfs/mk_part.
libvirt.tests: Fix missed configurations.

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