util_test.libguestfs: Support choosing disk or domain in VirtTools.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
libguestfs.tests: Supplements for guestmount test.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
shared.cfg.guest-hw: Update pf_assignable and vf_assignable configure to fit framework changes.

pf_assignable and vf_assignable variants only works with nettype = bridge

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu.tests: Add sr_iov_sanity new test case.

Signed-off-by: Feng Yang <fyang@redhat.com>
virttest.qemu_vm: Fix issue #381

It was correctly pointed out by ldoktor that, in case
the 9p proxy helper is set, we'll overwrite self.process
with the regular QEMU process. Let's fix this problem.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1179 from autotest/fix-381

virttest.qemu_vm: Fix issue #381
virt.virtnet : update vm.virtnet when guest reboot

When starting a guest with one nic device, then
starting a guest with two nics (not removing env),
the second nic can not be initialized correctly.

When booting a guest with nic_extra_params, then
booting another guest without this option, the
second guest will boot with nic_extra_params
unexpectedly.

The root cause of these issues is that we don't
update virtnet when the VM object is preprocessed.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Merge pull request #1180 from autotest/virtnet2

virt.virtnet : update vm.virtnet when guest reboot
Merge pull request #1138 from FengYang/sanity

qemu.tests: Add sr_iov_sanity new test case.
fix typo of iozone_cmd

Change from V1:
    add .exe after iozone which is more safe.

Signed-off-by: Cong Li <coli@redhat.com>
Merge pull request #1184 from CongSmile/iozone

fix typo of iozone_cmd
virt.tests: fix no ip address for extra nics

Some guest (eg, sles, ubt) don't configure IP address for extra nics and
ping.multi_nic always failed because no IP for extra nic; fix this issue
by send pre_cmd to guest for asking IP from dhcp server before start test;

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

virt.tests: fix no ip address for extra nics
virttest: Add disable for warning color

Warning color is added but missed in disable. This will cause trouble
when pipe stdout into file.

Signed-off-by: Hao Liu <hliu@redhat.com>
autotest regression test: default to master branch

Since the next branch does not exist anymore.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
autotest regression test: fetch the installer script from the chosen branch

If using the github repo URL. If not, default to the script on the github
master branch.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Merge pull request #1191 from Hao-Liu/fix_warn_color

virttest: Add disable for warning color
virt: Fix hanging tail_threads which are created by recreating env.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
Merge pull request #1157 from yumingfei/enhance_guestmount

Libguestfs: supplements of guestmount test.
Merge pull request #1195 from clebergnu/autotest_regression_branch

Autotest regression test