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
virsh.emulatorpin: Add a negative case to test 'auto' placement

Signed-off-by: Yanbing Du <ydu@redhat.com>
dompmsuspend: Change VMPM to VMPMXML.

update this test according to latest change in libvirt_xml.vm_xml.

Signed-off-by: Hao Liu <hliu@redhat.com>
vol_clone_wipe: Fix dependence of scrub

1) Using an algorithm other than `zero` when doing `vol-wipe` needs `scrub`
package. This fix check the existence of `scrub`. If fails, it logs a warning
message and using `zero` algorithm instead.

2) Skip related test if libvirt don't support option --prealloc-metadata.

Signed-off-by: Hao Liu <hliu@redhat.com>
Using new method to setup iscsi device

The new method wrap dependency checking, iscsi target setup and login steps,
and set default values for all needed params.

Signed-off-by: Yanbing Du <ydu@redhat.com>
libvirt_scsi: Fix some bugs.

1) Use `EXAMPLE*` for disk device type.
2) Raise `TestNAError` when dependent `mkisofs` don't exists.
3) Cleanup image files after test.
4) Check partition first to skip before other disk image are
   created.

Signed-off-by: Hao Liu <hliu@redhat.com>
Merge pull request #246 from vanbogithub/bfan-dev

Create new file for misc and add 10 cases
Merge pull request #232 from will-Do/dump

virsh.dump:  Case expend and bug fix
Merge pull request #234 from waynesun09/blkcommit

blockcommit: Add commit base as middle snap cases
Merge pull request #274 from will-Do/emulatorpin

virsh.emulatorpin: Add a negative case to test 'auto' placement
Merge pull request #281 from Hao-Liu/fix_dompmsuspend

dompmsuspend: Change VMPM to VMPMXML.
Merge pull request #283 from Hao-Liu/fix_vol_wipe

vol_clone_wipe: Fix dependence of scrub
snapshot_create_as: Add "--quiesce" without unix channel negative case

Signed-off-by: Wayne Sun <gsun@redhat.com>
snapshot_create_as: Add reuse external diskonly negative case

When create diskonly snapshot with --reuse-external option fail,
the domain xml should remain not updated.

Signed-off-by: Wayne Sun <gsun@redhat.com>
snapshot_create_as: Add external memory snapshot compressing cases

Add test cases of config "snapshot_image_format" in qemu.conf before
do external system checkpoint snapshot.

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