Add list and managedsave(remove)() methods to libvirt_vm.

This patch adds functions list,managedsave(remove) to libvirt_vm.py.

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
Add configuration for the virsh list testcases to subtest.cfg.sample.

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
Add test for virsh list command

Signed-off-by: Yu Mingfei<yumingfei@cn.fujitsu.com>
virt-libvirt: Add basic libvirt_xml module

Signed-off-by: Chris Evich <cevich@redhat.com>
virt.libvirt: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.libvirt_vm: Pretty print virt install command

Just as we made with the kvm based class, reformat
the command that is going to be printed to the logs,
making it more readable. With the patch, a virt-install
command line now looks like:

18:52:54 INFO | Running libvirt command (reformatted):
18:52:54 INFO | /usr/bin/virt-install
18:52:54 INFO |     --hvm
18:52:54 INFO |     --accelerate
18:52:54 INFO |     --name 'vm1'
18:52:54 INFO |     --ram=1024
18:52:54 INFO |     --vcpu=2
18:52:54 INFO |     --location /tmp/libvirt_autotest_root/
18:52:54 INFO |     --vnc
18:52:54 INFO |     --os-type linux
18:52:54 INFO |     --serial file,path=/tmp/serial-20120823-184442-fDoeZO3Z
18:52:54 INFO |     --serial pty
18:52:54 INFO |     --disk path=/tmp/libvirt_autotest_root/images/f17-64.raw,bus=virtio,size=10,format=raw,cache=none
18:52:54 INFO |     --disk path=/tmp/libvirt_autotest_root/isos/linux/Fedora-17-x86_64-DVD.iso,device=cdrom
18:52:54 INFO |     --disk path=/tmp/libvirt_autotest_root/images/f17-64/ks.iso,device=cdrom
18:52:54 INFO |     --network=bridge=virbr0,model=virtio,mac=52:54:00:34:35:36
18:52:54 INFO |     --extra-args 'repo=cdrom:/dev/sr1 ks=cdrom:/dev/sr0 nicdelay=60 console=ttyS0,115200 console=tty0'
18:52:54 INFO |     --noautoconsole

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.env_process: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.http_server: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.installer: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.kvm_vm: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.ovirt: Simplify error message

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.qemu_io: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.ppm_utils: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.rss_client: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.scheduler: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.step_editor: cleanups and make it independent of autotest

Do the usual cleanups (try to remove as much as possible
use of reserved symbols), and also, reduce cross dependency
on other autotest libs. step editor is useful even outside
of the autotest realm, so this paves the way for external
usage of this application.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.syslog_server: Removed unused import

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.test_setup: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.utils_misc: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virt.utils_test: cleanups

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>