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>
virsh.start: adjust virsh.start to lxc.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.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.
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>
snapshot_create_as: Add test case for bug 872292

The "savevm command not found" log should not be found in libvirtd
log file after done snapshot, update test to cover this.

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