libvirt.tests: add test cases for virsh blkdeviotune

Signed-off-by: Alex Jia <chuanchang.jia@gmail.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>
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: Fix qemu-ga service bug for reboot and shutdown test

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt.test: Skip option unsupported test only in positive test

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

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
libvirt.tests: Use sync instead of directly setting for recovery.

On older libvirt, defining an exist network will cause failure,
but for latest libvirt, it allows to define exist network if
this network is transient.
Function sync(...) can solve this problem for both versions.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libguestfs.test: Fix a bug in virt-sysprep test

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #258 from liyangfnst/attach_device_skip

libvirt.test: Skip test if option isn't supported
Merge pull request #257 from liyangfnst/dumpxml_opt_fix

libvirt.test: Skip option unsupported test only in positive test
Merge pull request #256 from liyangfnst/reboot_shutdown_agent

libvirt.test: Fix qemu-ga service bug for reboot and shutdown test
Merge pull request #263 from liyangfnst/sysprep_fix

libguestfs.test: Fix a bug in virt-sysprep test
Test cases for disk xml options.
Merge pull request #157 from rbian/disk-options

Add cases for disk xml options.
libvirt.test: Fix hide bug in volume application test

Without this modification, when the first case is over,
the domain is still running, and it will cause failure
on next case.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #267 from liyangfnst/vol_app_fix

libvirt.test: Fix hide bug in volume application test
Merge pull request #262 from yumingfei/fix_virsh_net

libvirt.tests: Fix network persistent bug.
Modify for block disk source type error
Merge pull request #268 from kylazhang/detach_device

Modify for block disk source type error for detach_device test