add configuration for virsh undefine

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
modify define,undefine function

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
modify define/undefine usages in libvirt_vm

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
add test for virsh undefine

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
fix code style of virsh undefine.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Add some illustrations for undefine configuration.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
shared.cfg: Add guest RHEL-5.9

rhel-server-5.9-i386-dvd.iso   e47da2a9b05a97cea5663a30642ecdd4
rhel-server-5.9-x86_64-dvd.iso 83e601da2282073aef3fcbd03b50802f

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
shared: Add guest os Fedora test

Fedora test release means the next major release of Fedora.
Now the test release is Fedora-18 Beta.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
standalone_test: fix of getting type name from config path

@ client/tests/virt/ $ ./run -c qemu/cfg/tests.cfg
  IOError: [Errno 20] Not a directory: '/home/devel/
  autotest/client/tests/virt/cfg/cfg/virtio-win.cfg'

The processed type name is 'cfg', it should be 'qemu'

I tried to execute run without 'type' parameter,
and got an error of wrong path of cfg file.
This patches fixed this problem. 'options.type' is
also used in other part, so assign the processed
type name to it.

v2: fix a wrong assignment

Signed-off-by: Amos Kong <akong@redhat.com>
virt-libvirt: Update vm.pause() & virsh.suspend()

Let's move high-level functionality into vm class and away from virsh module.
This allows virsh module return value to be more supportive of error testing
and allow test code to examine result more closely.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu,com>
virt-libvirt: libvirt_xml VMXML.vm_rename & VMXML.__init__ fixes

* Fixed incorrect order of parameters in __init__
* Removed extranious VMXML(virsh) call
* Utilized staticmethod of VMXML class

Signed-off-by: Chris Evich <cevich@redhat.com>
shared: Add new guest os Fedora 18

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>