libvirt.tests: add test cases for virsh blkdeviotune

Signed-off-by: Alex Jia <chuanchang.jia@gmail.com>
v2v.tests: Use PoolVolumeTest to create pool for converting remote vm.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
v2v.tests: Separate xen and vmware to support both in one run.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
tests.convert_libvirt: Fix parameter for options --network/--bridge.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
v2v.tests: Adjustment to support network and bridge options.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
v2v.tests: Adjustments for converting local image.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.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>
virsh.capabilities: Check power management

1) Add checking for power management support again result of
   `pm-is-supported`
2) Rewrite all XML parsing using libvirt_xml module.

Signed-off-by: Hao Liu <hliu@redhat.com>
Merge pull request #228 from yumingfei/fix_v2v

V2V: Adjustments for fixing some bugs and some enhancements.
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.test: Fix a typo in update-device test

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

libvirt.test: Fix a typo in update-device test
svirt: rewrite test for svirt_install.

As this test only care whether the qemu-kvm process
can access the image. It is not necessary to install
a full os in a vm. Just verify the vm is alive after
virt-install command is enough. Then we can save a lot
of time and make this test independent from unattended_install.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Merge pull request #255 from yangdongsheng/svirt

svirt_install:  simplify svirt_install test.
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>