qemu.tests: add virtio-scsi,ide block device serial No.catch check

Add catch_serial_cmd for virtio_scsi, ide block device;

Signed-off-by: Xu Tian <xutian@redhat.com>
Merge pull request #772 from xutian/fix_resource_check

Add catch_serial_cmd for virtio_scsi and ide block device
virt.tests: sync libhugetlbfs testing to autotest_control suite

Signed-off-by: Xu Tian <xutian@redhat.com>
virt.shared: add glibc-devel and glibc-static into RHEL.6 ks

glibc-devel and glibc-static is requried by build libhugetlbfs source;

Signed-off-by: Xu Tian <xutian@redhat.com>
Merge pull request #773 from xutian/fix_libhugetlbfs

sync libhugetlbfs testing in client tests to virt tests
virttest.aexpect: Make it possible to ignore command exception in cmd().

Support ignore_all_errors parameter in cmd()
When run some clean up command in guest. We may do not want to fail the case
for any exception in the command.
So add ignore_all_errors parameter in cmd() to ignore exception.

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu.tests.stop_continue call session.cmd() with ignore_all_errors=True.

We do not want to fail the case for exception in clean up command.

Signed-off-by: Feng Yang <fyang@redhat.com>
virttest.utils_libguestfs: Add mount option and methods for Guestfish.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libguestfs.tests: Add test module for guestfish list operations.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.qemu_vm: Refactor restricted variable name in hotplug_vcpu

rename variable id to plug_cpu_id to avoid overwriting python build-in
function.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Merge branch 'github-771' into next
virt: Fix ./run vhost params.

run uses for setting vhost to network netdev_extra_params.
This param has to be used with ',' in-front of network param when
it is used for standard thinks. In future it should be replaced by
new vhost virt_net interface.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
libvirt: Modify test-example for machine type

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #776 from jzupka/runner

virt: Fix ./run vhost params.
Fix unattended_install.url on Fedora guests

My commit 756a1ff9a08ff2b1a16202a32e667b56204accc5 broke
unattended install with URL setting. This commit fixes
it in a very simplistic way, since I was tired to dig
into qemu devices code to try out adding unit=0/unit=1
suggested by Paolo, and also, this change would require
more testing with other qemu branches, such as RHEL5/RHEL6
before we know it is safe.

CC: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu.tests: cleanup live_snapshot test

use live_snapshot function function in test framework, drop useless
module and update test configuration;

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.virttest.qemu_vm: Update the way used to create vhostfd

Follow the way used to add tapfds when creating vhostfd.
This can help us try to reuse vhostfd instead of getting a new
vhostfd every time.
Release vhostfd.
Support multi queue

Signed-off-by: Feng Yang <fyang@redhat.com>