qemu.tests: Correct the post operate cmd in win_virtio_update

Correct the way we get post operate cmd in win_virtio_update.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
qemu.tests: Update the virtio cdrom path in win_virtio_update

Update the virtio cdrom path so it can handle the relative path we
normally used for the data dir iso directory.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
generic.test.ping: make ping test support ipv6

This patch make ping test support using ipv6 address

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
qemu.tests.multi_disk_random_hotplug: Use all 5 monitors

Use 5 monitors in parallel test variant.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.multi_disk_random_hotplug: Improve stop_stresser function

Stop stresser should destroy the VM ungracefully in case login fails.
Also check the vm.verify_alive before using monitor on "hot" places.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.cfg: Disable "create -o" option related sub-cases

since qemu-img not support "create -o" option on rhel5 host,
so disable related sub-cases.

Signed-off-by: Shuping Cui <scui@redhat.com>
qemu.tests.qemu_img: Correct preallocated value

Preallocation mode (allowed values: off, metadata),
is not "no" or "yes".

Signed-off-by: Shuping Cui <scui@redhat.com>
qemu.tests.qemu_img: Correct create command with -o option

if preallocated == metadata and cluster_size is not None, will get command like:
qemu-img create -f qcow2 -o prellaction=metadata -o cluster_size=xxx,
correct command should be: qemu-img create -f qcow2 -o prellaction=metadata,cluster_size=xxx

Signed-off-by: Shuping Cui <scui@redhat.com>
control_files.control.kernel-version: Make it works with new folder structure

Now we put qemu test scripts folder under test-providers.d.
Put some configures file under backends/qemu/cfg/

Signed-off-by: Feng Yang <fyang@redhat.com>
deps: Greate deps folder in top-level directory and move cpu_flags in

Greate deps folder in top-level directory in case some dpes used by
more than one folder. e.g both qemu and generic.

Also move qemu/deps/cpu_flags to deps/cpu_flags, as it is  used by both
qemu and provider.

Signed-off-by: Feng Yang <fyang@redhat.com>
provider.cpuflags: Correct command used to compile cpuflags-test

Signed-off-by: Feng Yang <fyang@redhat.com>
Merge pull request #17 from ypu/win_virtio

qemu.tests: Correct the post operate cmd in win_virtio_update
Merge pull request #16 from spcui/qemu_img_fix

qemu.tests: qemu_img.py bugs fix
tp-qemu: Inspekt fixes

A bunch of PEP8 non compliances and small errors that
were caught by inspekt.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #30 from autotest/inspekt-fixes

tp-qemu: Inspekt fixes
Merge pull request #22 from humanux/ping

generic.test.ping: make ping test support ipv6
tests.vlan: some issues fix

This patch fix some issues of this script:
1. kill netcat server if any exceptions happens
2. split this test to two
3. make this script follow pep8 rules

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
tp-qemu: update iptables command

NFS server has connected before qemu vm start, so we should reject pack which
status match 'RELATED' or 'ESTABLISHED' to block connection, not 'NEW'.

Signed-off-by: Xu Tian <xutian@redhat.com>
qemu.tests.change_media: Add sleep time after change cdrom in guest

Sometimes, need to wait a minute after inserting cdrom in guest.

Signed-off-by: Shuping Cui <scui@redhat.com>
qemu.test: add test for kill guest during ping

This patch add test for kill geust during ping

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>