qemu.tests: Add enable_msix_vectors in hotplug_nic

The parameters of this function already updated. Need add this too.
Otherwise run this case with multi queues and enable_msix_vectors = yes
will failed.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qemu.tests: Update hdparm to work with old guests

In the old guests, hdparm command line always exits with status 0.
So remove the status check in the code. And also add a count to
caculate the unsupport parameters number. If all parameters are
not supported, fail the case with TestNAError.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
generic.tests.pxe: recorrect param for pxe test

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.tests.pxe_query_cpus: small enhancement

Signed-off-by: Xu Tian <xutian@redhat.com>
generic.tests.kdump: Add new test case for kdump over ssh

Dumping the vmcore for remote system via ssh.

Signed-off-by: Shuping Cui <scui@redhat.com>
generic.tests.kdump: Make all functions context_aware

This patch makes all functions context_aware.

Signed-off-by: Shuping Cui <scui@redhat.com>
qemu.generic.tests: rename pxe test to pxe_boot test

we have pxe installation test and pxe boot test, which made user
feeling confused. so rename pxe test to pxe_boot test.

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.tests.usb_hotplug: Do not need to verify usb device on guest for negative test

Do not need to verify usb device is pluged/unpluged on guest for negative test.

Signed-off-by: Shuping Cui <scui@redhat.com>
qemu.tests.virtio_console: Replace ranges for xranges in loops

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.virtio_console: test_perf fixes

* clear the exitevent before each iteration
* raise exception in case no data were transfered
* prevent infinite loop when data are not read-out

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.cfg: Add image format filter in qemu_iotests

Add image format filter for qemu_iotests. So we can filter the right
test cases when we run it.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qemu.tests.cfg: Disable readonly disk for ide and ahci disks

This is not support for ide and ahci disks.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qemu.tests.cfg: adjust the timeout in transfer_file_over_ipv6

Tranfer file over ipv6 needs more time to finish.

Signed-off-by: Xiangmin Han <xhan@redhat.com>
Merge pull request #44 from xutian/fix_pxe_test

small fix for pxe test
Merge pull request #48 from spcui/usb_hotplug

qemu.tests.usb_hotplug: Do not need to verify usb device on guest for negative test
netperf: collect host/guest sysinfo by custom-built scripts

User wants to collect sysinfo of host/guest, but different users
might have different requests, and many kinds of system might be
used. So I would like to use custom-built scripts to collect the
information that will make users happy.

User needs to add shell scripts to autotest/client/tests/virt/shared/scripts/,
and set the script path in config file.

eg:
 #log_hostinfo_script = scripts/rh_perf_log_hostinfo_script.sh
 #log_guestinfo_script = scripts/rh_perf_log_guestinfo_script.sh
 #log_guestinfo_exec = bash
 #log_guestinfo_path = /tmp/log_guestinfo.sh

Then the script output will be saved to $test.resultsdir/sysinfo,
analyzer can use 'diff' to compare the system information when
regression occurs.

I will send a pull request to add to example scripts to virt-tests repo.

Signed-off-by: Amos Kong <akong@redhat.com>
Merge pull request #35 from kongove/for-lmr

netperf: collect host/guest sysinfo by custom-built scripts
netperf: adjust fbase to 5

We do rounding in regression.py, so here we adjust the default
fbase to 5

Signed-off-by: Amos Kong <akong@redhat.com>
netperf: kill netperf clients after effective test finishes

Currently we still wait client thread to stop after effective test
finishes, it wastes of time. This patch directly killes the threads,
then client_thread.join() will return immediately.

Suggested-by: Wenli Quan <wquan@redhat.com>
Signed-off-by: Amos Kong <akong@redhat.com>
netperf: ignore error in environment setup

Signed-off-by: Amos Kong <akong@redhat.com>