virsh.undefine: adapt undefine to lxc test.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virsh.dumpxml: adapt virsh.dumpxml to lxc test.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
virsh.edit: adapt virsh.edit to lxc test.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
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>
virsh.start: adjust virsh.start to lxc.

Signed-off-by: Dongsheng Yang <yangds.fnst@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>
Add tests for virt-clone command.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Add test for virt-what command.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
svirt_clone: remove vm and storages in cleanup step.

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

svirt_clone: remove vm and storages in cleanup step.
libvirt_scsi: remove a case for controller_no.

In RHEL6, libvirt will not auto-generate a controller for scsi device.
We need to attach a controller in this case.

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

Add tests for virt-xxx command in libvirt.
Merge pull request #221 from yangdongsheng/lxc

lxc: adapt virsh tests to lxc test.