virt: Cpuflags test repair for new version of qemu

Qemu 1.3.50 changes cpu command line from -cpu ?cpuid,?dump,?models
to one command -cpu ?. -cpu ? command show joined information
only -cpu ?cpuid and -cpu ?models command. And developers don't
want add this functionality again because nobody use -cpu ?dump any more.
libvirt use file cpu_map.xml where should be all information about
cpu flags. And by this reason cpuflag test have to add this file too.
Moreover, it should help with check of qemu cpu flags stability.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
tools.run_pylint: Add vm as a good variable name

This patch adds common variables into good-names pylint list.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
virt: Verify whether guest image is bootable

This patch adds a function in vm.verify_alive method,
to check if the image is bootable. If image can't bootup,
autotest will raise an ImageUnbootableError exception.

There are 2 parameters for this function:
 * image_verify_bootable: Turn on/off this checking function.
 * image_unbootable_pattern: Pattern for bootable checking.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
Init test project of libguestfs.

Since libguestfs has a serial of commands.
Support libguestfs test will be helpful.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virt: Add virsh_domblklist function to virsh module.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virt: Add get_blk_devices&get_disk_devices function to VM class.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virt-libguestfs: add configuration for virt-edit module.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virt-libguestfs: add test module of virt-edit.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virt: Add utils functions for libguestfs tests.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libguestfs: Fixing spacing

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
libguestfs: Misc pylint fixes

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
libguestfs: Add update_config script

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
libguestfs: Remove unnecessary read_nonblocking() call

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
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>