qemu.qemu_vm: support vhostfd in netdev.

vhostfd only works when vhost on.
add enable_vhost parameter. set default value to 'yes'
Signed-off-by: Feng Yang <fyang@redhat.com>
utils_libvirtd: if libvirt is not availible in host, No error, but a warning.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
virt: modify libvirtd_status() to libvirtd_is_running()

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
virttest.aexpect: Fix old class Spawn definition.

The base class Spawn for ShellSession was defined in old way(class Spawn).
Then we can not use super() for inherited classes:
TypeError: super() argument 1 must be type, not classobj

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
README.rst: add basic troubleshooting instructions

As suggested by Juan Quintela.

CC: Juan Quintela <quintela@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
virttest.env_process: Fix postprocess logging

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.cfg: Enable qemu guest agent test for RHEL guest

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
qemu.tests.cfg: Disable xhci on old windows for RHEL host

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
qemu.tests.cfg: Move usb_(re)boot config for win guest to Windows.cfg

These parameters would be overridden by the parameters in
each usb device config block. So move it into guest-os's
config files.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
Merge pull request #638 from zhouqt/minor-fix

qemu: Minor fixes for qemu test cases
virttest.qemu_devices: Fix QStringDevice.cmdline problem

when False/None was set as cmdline this device always failed.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
virttest.qemu_devices: Fix in-code OrderedDict

Fix the correct implementation of itervalues() and add iteritems().

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>