virt-libvirt: add configuration for virsh reboot

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libvirt: add virsh function for virsh reboot

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

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virt-libvirt: Minor fixups to virsh reboot test

* Added a verifyable default value for remote_ip/local_ip parameters
* Wraped two long lines
* Added a FIXME to catch-all 'except' statement
* Print out debugging info when there's a problem
* Add check for older libvirt version on command error

Signed-off-by: Chris Evich <cevich@redhat.com>
download.d - Fix destination of virtio-win iso
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>