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>
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>
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>
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>
test.iofuzz: some modifications of iofuzz

This patch make some modifications on iofuzz:
1. When session is not response, check whether qemu or guest kernel
   crash occurs.
2. Check whether qemu or guest kernel crash occurs after fuzz test.
3. Make the script follow pep8 rules
4. enable image snapshot.

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Merge pull request #19 from humanux/vlan

tests.vlan: some issues fix
Merge pull request #20 from humanux/iofuzz

test.iofuzz: some modifications of iofuzz
Merge pull request #21 from humanux/ping_kill_test

qemu.test: add test for kill guest during ping
Generic.tests: Add test module for ksm services.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
qemu-img.commit test correction

1. Correct the file name.
   The original image is what is generally called the backing file,
   whereas the new image you created is an overlay.

2. Remove the step which boot up the backing file before commit.
   It is not allowed to boot up the backing file before commit.
   If you have boot up, you have written to the backing file,
   which is likely to destory data on the overlays.

Signed-off-by: Cong Li <coli@redhat.com>
Merge pull request #32 from spcui/change_media

qemu.tests.change_media: Add sleep time after change cdrom in guest
Merge pull request #31 from xutian/fix_nfs_corrupt

tp-qemu: update iptables command
qemu.tests.physical_resources_check: update get cpu number method for windows guest

Add new function get_cpu_number() to get cpu sockets/cores/threads number.

Signed-off-by: Shuping Cui <scui@redhat.com>
Merge pull request #29 from spcui/physical_resources_check

qemu.tests.physical_resources_check: update get cpu number method for windows guest
qemu.tests.multi_disk_random_hotplug: Improve hotplug/unplug logging

Log the hotplug device's name for easier log analyzing.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qemu.tests.multi_disk_random_hotplug: Check for I/O Errors

Check for I/O Errors before the test end and raise Warning in such case.

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