kvm test: Parametrisation of multi_disk test

2012-04-26 Thread Lukas Doktor
Hi, This patch adds support for custom disk specification in multi_disk test. It allows us to specify any feature supported by params dictionary for additional disks, disk-by-disk or using some logic to create custom setups. Please see the detailed description in patches. Pull request:

[PATCH] kvm test: Parametrisation of multi_disk test

2012-04-26 Thread Lukas Doktor
for details. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/multi_disk.py | 346 ++ client/virt/guest-os.cfg.sample |6 +- client/virt/subtests.cfg.sample | 48 +- 3 files changed, 363 insertions(+), 37 deletions

virt: Support for indirect image_name definition

2012-04-18 Thread Lukas Doktor
Hi, this patch adds support for indirect image_name specification. The purpose is to set wildcard + offset instead of the exact name. I'm using it for testing devices I add in the test. Eg. I use pre_script = modprobe scsi_debug which adds new /dev/sg? device. I know it's the last device so I

[PATCH] virt: Support for indirect image_name definition

2012-04-18 Thread Lukas Doktor
* image_raw_device_stg = yes image_format_stg = raw drive_index_stg = 3 drive_format_stg = scsi-block indirect_image_select_stg = -1 Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/virt/base.cfg.sample |2 ++ client/virt/virt_vm.py | 22 ++ 2 files

[PATCH] kvm tests: Update cdrom test

2012-04-18 Thread Lukas Doktor
-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cdrom.py | 128 +++ client/virt/subtests.cfg.sample |5 +- 2 files changed, 106 insertions(+), 27 deletions(-) diff --git a/client/tests/kvm/tests/cdrom.py b/client/tests/kvm/tests/cdrom.py

[PATCH 1/2] virt tests: add dd_test

2012-04-10 Thread Lukas Doktor
) which is required for this test. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/virt/kvm_vm.py |6 ++- client/virt/subtests.cfg.sample | 35 + client/virt/tests/dd_test.py| 105 +++ 3 files changed, 144 insertions(+), 2

[PATCH 2/2] virt: Fix usb_stick block device subsystem

2012-04-10 Thread Lukas Doktor
* Add ehci controller when usbstick is selected * Add default number of usb_max_port With those mini-changes it's possible to run every test with usb_stick block device without further test/cfg modifications. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/virt/guest-hw.cfg.sample

[PATCH 1/2] tests.cgroup: Add cpuset.mems test

2012-03-26 Thread Lukas Doktor
This test tests the memory pinning via cpuset.mems cgroup feature. It changes cgroups with different node setting. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cgroup.py | 99 ++ client/virt/subtests.cfg.sample |3 + 2 files

[PATCH 2/2] tests.cgroup: fix memory_move test

2012-03-26 Thread Lukas Doktor
Minor fixes in memory_move test. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cgroup.py |4 +--- client/virt/subtests.cfg.sample |1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/tests/kvm/tests/cgroup.py b/client/tests/kvm/tests

[KVM-autotest] tests.cgroup: Fix cfg parameters

2012-03-08 Thread Lukas Doktor
Hi, I find out (IMO) better solution of smp parameter in cgroup testing. It doesn't need any changes to import order and it. Also now when cgroup_speeds is set the test calculates SMP from it. See pull request on: https://github.com/autotest/autotest/pull/225 Kind regards, Lukáš Doktor -- To

[PATCH] [KVM-autotest] tests.cgroup: Fix cfg parameters

2012-03-08 Thread Lukas Doktor
test to set smp by cgroup_use_half_smp. When nothing is specified it tries to run on current VM(s). Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cgroup.py | 75 +++--- client/virt/guest-hw.cfg.sample | 12 -- client

[PATCH 1/4] [KVM-autotest] virt.kvm_vm: Make snapshot and boot params optional

2012-02-27 Thread Lukas Doktor
Currently boot and snapshot parameters are either 'yes' or not present. This patch enables specify 'yes', 'no' or not present. 'no' option is necessarily eg. when -snapshot is present and we want to override the 'snapshot=off' value on one device. Signed-off-by: Lukas Doktor ldok...@redhat.com

[PATCH 2/4] [KVM-autotest] virt.virt_vm: Add option to create raw images with dd

2012-02-27 Thread Lukas Doktor
Adds option to create raw images with dd (non-sparse file unlike qemu-img one). Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/virt/virt_vm.py | 38 ++ 1 files changed, 26 insertions(+), 12 deletions(-) diff --git a/client/virt/virt_vm.py b

[PATCH 3/4] [KVM-autotest] tests.cfg.sample: change import order

2012-02-27 Thread Lukas Doktor
settings. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests-shared.cfg.sample |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/tests-shared.cfg.sample b/client/tests/kvm/tests-shared.cfg.sample index c6304b3..bda982d 100644

[KVM-autotest] virt.kvm_vm: Add virtio-scsi support

2012-02-08 Thread Lukas Doktor
targets directly from cmd-line, although hot-plug worked fine. Pull request: https://github.com/autotest/autotest/pull/170 Regards, Lukáš Doktor Signed-off-by: Lukas Doktor ldok...@redhat.com -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord

[PATCH] [KVM-autotest] virt.kvm_vm: Add virtio-scsi support

2012-02-08 Thread Lukas Doktor
: scsi-block and scsi-generic are passthrough devices and can be used only with physical HW (/dev/sd*, resp. /dev/sg*) Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/virt/guest-hw.cfg.sample |8 client/virt/kvm_vm.py | 29 + 2 files

[PATCH 1/2] [KVM-autotest] tests.cgroup: Add cpu_cfs_util test

2011-12-23 Thread Lukas Doktor
This test tests the cpu.cfs_* subsystem. It's focused on known issue with multiple threads in related cpu cgroup with defined cpu.cfs_quota_us. CFS might schedule those threads very inefficiently. * Add TestCpuCFS Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm

[KVM-autotest] tests.cgroup: Add cpu_cfs test and bugfixes

2011-12-23 Thread Lukas Doktor
Hi guys, Please find the cpu_cfs_util test which tests the usage of CFS scheduler when cpu.cfs_quota_us is set. It start-ups enough VMs to overcome twice all host's CPUs and sets 50% quota for each process. In theory the utilisation should be exactly 100%. We measure the difference between all

[PATCH 2/2] [KVM-autotest] tests.cgroup: Variable limits in TestMemory* and bugfixes

2011-12-23 Thread Lukas Doktor
* Add cgroup_memory_limit_kb, cgroup_memory_move_mb variables into cfg to allow user specify the amount of tested/stressed memory * Use iflag=fullblock to force allocate the full blocks in dd * FIX cpu enumeration in cpuset subtest Signed-off-by: Lukas Doktor ldok...@redhat.com --- client

[kvm-autotest] tests.cgroup: Add 2 new tests of cpuset.cpus cgroup functionality

2011-12-05 Thread Lukas Doktor
Hi, This patchset fixes some issues in cgroup_common.py library and adds 2 new tests to cgroup-kvm test. Please find the details in each patch. Sent to upstream as pull req. 103: https://github.com/autotest/autotest/pull/103 Regards, Lukáš -- To unsubscribe from this list: send the line

[PATCH 2/3] [kvm-autotest] tests.cgroup: Add TestCpusetCpus test

2011-12-05 Thread Lukas Doktor
Tests the cpuset.cpus cgroup feature. It stresses all VM's CPUs and changes the CPU affinity. Verifies correct behaviour. * Add TestCpusetCpus test * import cleanup * private function names cleanup --- client/tests/cgroup/cgroup_common.py |2 + client/tests/kvm/tests/cgroup.py | 211

[PATCH 3/3] [kvm-autotest] tests.cgroup: Add TestCpusetCpusSwitching

2011-12-05 Thread Lukas Doktor
Tests the cpuset.cpus cgroup feature. It stresses all VM's CPUs while switching between cgroups with different setting. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup_common.py |4 + client/tests/kvm/tests/cgroup.py | 108

[PATCH 1/3] [autotest] client.tests.cgroup: Replace LoadPerCpu() by get_load_per_cpu

2011-12-05 Thread Lukas Doktor
* Move LoadPerCpu into cgroup_common.py (cgroup-kvm will need it too) * [FIX] Use etraceback * Code cleanup --- client/tests/cgroup/cgroup.py| 79 ++ client/tests/cgroup/cgroup_common.py | 22 + 2 files changed, 35 insertions(+), 66 deletions(-)

[kvm-autotest] tests.cgroup: Add CpuShare test

2011-11-28 Thread Lukas Doktor
Hi guys, I have a new kvm cgroup test for you. This time it's in cpu cgroup and it uses cpu.shares capability. It modifies the number of shares/time_slices which each process gets from the scheduler As the verification is kind of tricky I'm testing only three different scenerios and only

[PATCH] [kvm-autotest] tests.cgroup: Add CpuShare test

2011-11-28 Thread Lukas Doktor
CPUs. With thread overcommit the scheduler should stabilize accordingly to speeds value. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup_common.py |8 +- client/tests/kvm/tests/cgroup.py | 258 +- 2 files changed, 260 insertions

[kvm-autotest] tests.cgroup: 3 new subtests

2011-11-07 Thread Lukas Doktor
Hi guys, I have three new subtests for kvm cgroup test. First one tests the freezer cgroup subsystem, the two following tests the memory cgroup subsystem. * Add TestFreezer subtest (second pass) * Add MemoryMove subtest * Add MemoryLimit subtest * New assign_vm_into_cgroup() function *

[PATCH 2/3] [kvm-autotest] tests.cgroup: Add MemoryMove test

2011-11-07 Thread Lukas Doktor
This subtest tests the memory.move_charge_at_immigrate cgroup capability. It changes memory cgroup while running memory intense app inside the guest. * Adds TestMemoryMove test Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cgroup.py | 85

[PATCH 3/3] [kvm-autotest] tests.cgroup: Add MemoryLimit test

2011-11-07 Thread Lukas Doktor
This subtest tests the memory.limit_in_bytes cgroup capability by running VM which demands more memory than permitted by it's cgroup. Everything over the limit should be swapped out. * Adds TestMemoryLimit test Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cgroup.py

[PATCH 1/3] [kvm-autotest] tests.cgroup: Add TestFreezer

2011-11-07 Thread Lukas Doktor
assign_vm_into_cgroup() function * Code cleanup Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup_common.py | 16 +--- client/tests/kvm/tests/cgroup.py | 158 +++--- 2 files changed, 145 insertions(+), 29 deletions(-) diff --git a/client

[kvm-autotest] tests.cgroup: Add TestFreezer

2011-10-31 Thread Lukas Doktor
assign_vm_into_cgroup() function * Code cleanup Signed-off-by: Lukas Doktor ldok...@redhat.com Please see the pull request for updates: https://github.com/autotest/autotest/pull/55 -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More

[PATCH] [kvm-autotest] tests.cgroup: Add TestFreezer

2011-10-31 Thread Lukas Doktor
assign_vm_into_cgroup() function * Code cleanup Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup_common.py | 16 +--- client/tests/kvm/tests/cgroup.py | 159 +++--- 2 files changed, 146 insertions(+), 29 deletions(-) diff --git a/client

[kvm-autotest]client.tests.kvm.tests.cgroup: Add TestDeviceAccess subtest

2011-10-24 Thread Lukas Doktor
Hi guys, I have a new subtest which tests the 'devices' cgroup subsystem and improve the logging a bit. Please find the pull request on github: https://github.com/autotest/autotest/pull/48 Cheers, Lukáš -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message

[PATCH] [kvm-autotest]client.tests.kvm.tests.cgroup: Add TestDeviceAccess subtest

2011-10-24 Thread Lukas Doktor
the host file) * improved logging Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cgroup.py | 234 +- 1 files changed, 203 insertions(+), 31 deletions(-) diff --git a/client/tests/kvm/tests/cgroup.py b/client/tests/kvm/tests

[kvm-autotest] cgroup-kvm: Four new BlkioThrottle tests (second pass)

2011-10-19 Thread Lukas Doktor
Hi guys, This is a patchset with four new tests to KVM specific cgroup testing. Also I made some modifications into (general) cgroup_common library which makes cgroup testing better readable and more safe to execute. Please find the details in each patch. Also please beware of qemu-kvm bugs

[PATCH 1/4] [kvm-autotest] client.tests.kvm.tests.cgroup: add_*_drive / rm_drive; bugfixies

2011-10-19 Thread Lukas Doktor
tracebacks Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/common_lib/base_utils.py | 24 - client/tests/kvm/tests/cgroup.py | 262 +- client/virt/kvm_monitor.py |5 +- 3 files changed, 200 insertions(+), 91 deletions(-) diff --git

[PATCH 2/4] client.tests.cgroup: cleanup and structural changes

2011-10-19 Thread Lukas Doktor
* Use exceptions instead of returns * cgroup and cgroup-kvm tests were modified to fit * other code cleanups Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup.py| 169 +- client/tests/cgroup/cgroup_common.py | 140

[PATCH 3/4] client.tests.cgroup: {set,get}_property functions unification; bugfixes

2011-10-19 Thread Lukas Doktor
[] when no input * code cleanup Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup.py| 10 ++-- client/tests/cgroup/cgroup_common.py | 102 -- 2 files changed, 53 insertions(+), 59 deletions(-) diff --git a/client/tests

[PATCH 4/4] [kvm-autotest] client.tests.kvm.tests.cgroup: New subtest: TestBlkioThrottle*

2011-10-19 Thread Lukas Doktor
with different speed limits and verifies the correct behaviour. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cgroup.py | 317 -- 1 files changed, 300 insertions(+), 17 deletions(-) diff --git a/client/tests/kvm/tests/cgroup.py b

[kvm-autotest] cgroup-kvm: Four new BlkioThrottle tests

2011-10-07 Thread Lukas Doktor
This is a patchset with four new tests to KVM specific cgroup testing. Also I made some modifications into (general) cgroup_common library which makes cgroup testing better readable and more safe to execute. Please find the details in each patch. Also please beware of qemu-kvm bugs which

[PATCH 1/4] [kvm-autotest] cgroup-kvm: add_*_drive / rm_drive

2011-10-07 Thread Lukas Doktor
* functions for adding and removal of drive to vm using host-file or host-scsi_debug device. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cgroup.py | 125 - 1 files changed, 108 insertions(+), 17 deletions(-) diff --git

[PATCH 2/4] [autotest] cgroup: cleanup and structural changes

2011-10-07 Thread Lukas Doktor
* Use exceptions instead of returns * cgroup and cgroup-kvm tests were modified to fit * other code cleanups Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup.py| 169 +- client/tests/cgroup/cgroup_common.py | 140

[PATCH 3/4] [autotest] cgroup: {set,get}_property functions unification, bugfixies

2011-10-07 Thread Lukas Doktor
[] when no input * code cleanup Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup.py| 10 ++-- client/tests/cgroup/cgroup_common.py | 102 -- 2 files changed, 53 insertions(+), 59 deletions(-) diff --git a/client/tests

[PATCH 4/4] [kvm-autotest] cgroup-kvm: New subtest: TestBlkioThrottle*

2011-10-07 Thread Lukas Doktor
with different speed limits and verifies the correct behaviour. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/cgroup.py | 371 ++ 1 files changed, 331 insertions(+), 40 deletions(-) diff --git a/client/tests/kvm/tests/cgroup.py b

[KVM-autotest][PATCH] cgroup test with KVM guest +first subtests

2011-09-22 Thread Lukas Doktor
Hi guys, Do you remember the discussion about cgroup testing in autotest vs. LTP? I hope there won't be any doubts about this one as ground_test (+ first 2 subtests) are strictly focused on cgroups features enforced on KVM guest systems. Also more subtests will follow if you approve the test

[PATCH 1/2] cgroup: cgroup_common.py bugfixies and modifications

2011-09-22 Thread Lukas Doktor
[FIX] incorrect prop/dir variable usage [MOD] Use __del__() instead of cleanup - Simplifies the code with small drawback (failures can't be handled. Anyway, they are not critical and were never handled before...) Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup

[PATCH 2/2] adds cgroup tests on KVM guests with first test

2011-09-22 Thread Lukas Doktor
) virtio_blk disk 2) Assigns each to different cgroup and sets blkio.weight 100/1000 3) Runs dd with flag=direct (read/write) from the virtio_blk disk repeatidly 4) After 1 minute checks the results. If the ratio is better then 1:3, test passes Signed-off-by: Lukas Doktor ldok...@redhat.com

[PATCH 1/4] [NEW] cgroup test * general smoke_test + module dependend subtests (memory test included) * library for future use in other tests (kvm)

2011-08-15 Thread Lukas Doktor
: * application which is executed and controled using cgroups * contains smoke, memory, cpu and devices tests which were manually tested to break cgroup rules and will be used in the cgroup.py subtests Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup.py| 239

[autotest][PATCH] cgroup test + modifications

2011-08-15 Thread Lukas Doktor
Hi, I changed a bit the structure and added the cpuset test. The first patch is equal to previous post (including the missing file). Other pa tches are bugfixies and new cpuset test. Please let me know if this structure is usable so I can continue in test develop ment. Regards, Lukáš -- To

[PATCH 2/4] bugfixies

2011-08-15 Thread Lukas Doktor
* slight modification of the subtests executions * modified clean-up function * raise errors instead of returns * more failure checking Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup.py| 116 + client/tests/cgroup

[PATCH 3/4] cpuset test

2011-08-15 Thread Lukas Doktor
Tests the cgroup cpuset (cpu affinity) functionality. It spawn no_cpus+1 cpu-intensive proces', limits the cpu affinity to cpu0 using cgroups and verifies. Than it do the same on all cpus except the cpu0. Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup.py | 161

[PATCH 4/4] [FIX] Use file instead of PIPE in memfill test (problem with sync)

2011-08-15 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup.py| 44 +++- client/tests/cgroup/cgroup_client.py | 61 - 2 files changed, 64 insertions(+), 41 deletions(-) diff --git a/client/tests/cgroup/cgroup.py b

[PATCH] Adds cgroup handling library

2011-08-08 Thread Lukas Doktor
[new] cgroup_common.py * library for handling cgroups Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup.py|5 +- client/tests/cgroup/cgroup_common.py | 327 ++ 2 files changed, 331 insertions(+), 1 deletions(-) create mode

Missing cgroup_common.py

2011-08-08 Thread Lukas Doktor
Hi, I'm sorry for missing cgroup_common.py in previous patchset. I forgot to add it to git. You can find it in attached patch. Regards, Lukáš -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH] [NEW] cgroup test * general smoke_test + module dependend subtests (memory test included) * library for future use in other tests (kvm)

2011-08-02 Thread Lukas Doktor
: * application which is executed and controled using cgroups * contains smoke, memory, cpu and devices tests which were manually tested to break cgroup rules and will be used in the cgroup.py subtests Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/cgroup/cgroup.py| 236

[autotest][PATCH] Add cgroup test

2011-08-02 Thread Lukas Doktor
Hi guys, this test is a basic structure for cgroup testing. It includes memory (mount -t cgroup -o memory ...) test as an example. Please let me know if you like this structure so I can make additional cgroup subtests. Regards, Lukáš -- To unsubscribe from this list: send the line

[PATCH] * 'tar' needs relative paths to strip the leading '/'

2011-07-08 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/virt/virt_test_utils.py |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/virt/virt_test_utils.py b/client/virt/virt_test_utils.py index 2636352..1ef4f69 100644 --- a/client/virt/virt_test_utils.py +++ b

Incorrect tar command used in 'virt_test_utils.py'

2011-07-08 Thread Lukas Doktor
Hi, the tar command must use relative path to strip the leading '/' directories. Without this patch the kvm autotest's autotest test extracts autotest on guest into the original location of the autotest on the host. The location might not correspond with the test location and the test might

[PATCH][KVM-Autotest] virtio-console: Offline and online migration test

2011-03-21 Thread Lukas Doktor
It adds the online and offline migration test for virtio_console. It uses the loopback inside the guest. The host sends the data and checks it's validity while the guest is migrated (on localhost, multiple times). You can find more info in the patch itself. Regards, Lukáš Doktor -- To

[PATCH] This patch adds migration test (tmigrate). It also daemonize the virtio_console_guest.py script, which is necessarily for the migration test.

2011-03-21 Thread Lukas Doktor
much data is sent without receiving. Using migration this occures with even smaller slices. virtio_console_migration_offline = serialport:5:4096:1:1 Signed-off-by: Jiří Župka jzu...@redhat.com Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/scripts/virtio_console_guest.py | 231

[KVM-autotest][PATCH] virtio_console: add lseek test

2010-12-06 Thread Lukas Doktor
Hello, The first patch adds an lseek test. The second one is just a mirror corrections of critical flags for some of the smoke_test subtests. The lseek test do what is expected. The result of lseek on virtconsole/virtserialport should be -ESPIPE or err 29 in python. Regards, Lukáš -- To

[PATCH 1/2] * Add lseek test

2010-12-06 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/scripts/virtio_guest.py | 23 +++ client/tests/kvm/tests/virtio_console.py | 11 +++ 2 files changed, 34 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/scripts/virtio_guest.py b

[PATCH 2/2] FIX tbasic_loopback execution FIX critical tests; multioupen is not critical; basic_loopback is critical test

2010-12-06 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/virtio_console.py |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/tests/kvm/tests/virtio_console.py b/client/tests/kvm/tests/virtio_console.py index 30bdcbf..144aca3 100644 --- a/client

[KVM-autotest][PATCH] virtio_console on python2.4

2010-11-26 Thread Lukas Doktor
This patch modifies current virtio_console test to work on python2.4. It only modifies the HOST side of the test thus it depends on [KVM-AUTOTEST][PATCH 2/2][virtio-console] Fix compatibility with python 2.4. patch which fixes the GUEST side. Tested on Fedora 13 with python 2.4.6. -- To

[PATCH] Add support for python2.4 virtio_console.

2010-11-26 Thread Lukas Doktor
From: Jiří Župka jzu...@redhat.com --- client/tests/kvm/tests/virtio_console.py | 16 +++- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/client/tests/kvm/tests/virtio_console.py b/client/tests/kvm/tests/virtio_console.py index d69c0a5..3edd051 100644 ---

[PATCH] Spread virtio_consoles across multiple PCIs

2010-11-26 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/virtio_console.py | 21 + 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/client/tests/kvm/tests/virtio_console.py b/client/tests/kvm/tests/virtio_console.py index 3edd051..2f1d5eb

[KVM-autotest][patch] Spread virtio_consoles across multiple PCIs

2010-11-26 Thread Lukas Doktor
This patch spreads the virtconsoles and virtserialports across multiple virtio-serial-pci devices. There has been a discussion about how to test the communication between various topologies of virtio_consoles. This patch keeps the old way of configuration but still lets the user to test the

[KVM-autotest][patch] matrix_to_string: header columns width

2010-09-29 Thread Lukas Doktor
Hi, this patch calculates the columns' width including the header's one. In addition it accepts the header of booth types - tuple or list. Regards, Lukas -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH] FIX matrix_to_string: header columns width ADD matrix_to_string: accept header of type tupple or list

2010-09-29 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/common_lib/utils.py |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/client/common_lib/utils.py b/client/common_lib/utils.py index f44dd1e..6b8cdf6 100644 --- a/client/common_lib/utils.py +++ b/client

[KVM-autotest][Patch] virtio_console: perf-test fix

2010-09-23 Thread Lukas Doktor
After the first part of perf_test there were still data in a buffer which caused console failures in this test. With this fix all data are read out and it's possible to use test_perf with console (virtio_console_perf = console) Additionaly this patch contains some minor code cleanups. -- To

[PATCH 1/1] virtio_console: perf-test fix [FIX] read-out all data after perf-test [FIX] code clean-up

2010-09-23 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com Signed-off-by: Jiri Zupka jzu...@redhat.com --- client/tests/kvm/tests/virtio_console.py | 18 +- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/client/tests/kvm/tests/virtio_console.py b/client/tests/kvm/tests

[PATCH] NEW virtio_console test

2010-08-20 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/scripts/consoleSwitch.py | 217 + client/tests/kvm/tests/virtio_console.py | 730 + client/tests/kvm/tests_base.cfg.sample|7 + 3 files changed, 954 insertions(+), 0 deletions

[KVM-autotest] virtio_console test

2010-08-20 Thread Lukas Doktor
average loads. Best regards, Lukas Doktor -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[KVM_AUTOTEST][PATCH] Add support for newer (sysfs) ksm interface

2010-06-14 Thread Lukas Doktor
This patch adds support for newer sysfs interface used since Fedora 12. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[KVM_AUTOTEST][PATCH] KSM_overcommit: dynamic reserve calculation (2)

2010-05-08 Thread Lukas Doktor
Hi, thanks for nice page about git workflow. I always wanted to try it but never had the time to sit down and learn... Booth the TMPFS and 0.055 guest_reserve constant are set empirically using various RHEL and Fedora guest/hosts. Smaller hosts can work with smaller (0.045) constant but we

[PATCH 1/4] Increase maximum number of VNC ports

2010-05-08 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/kvm_vm.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py index d1e0246..c203e14 100755 --- a/client/tests/kvm/kvm_vm.py +++ b/client/tests/kvm

[PATCH 2/4] Add VMs alive check while spliting the guest's pages

2010-05-08 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com --- client/tests/kvm/tests/ksm_overcommit.py | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/tests/ksm_overcommit.py b/client/tests/kvm/tests/ksm_overcommit.py index 4aa6deb..b3d6880 100644

[PATCH 3/4] FIX: Incorrect session in function split_guest()

2010-05-08 Thread Lukas Doktor
Signed-off-by: Jiri Zupka jzu...@redhat.com --- client/tests/kvm/tests/ksm_overcommit.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/tests/ksm_overcommit.py b/client/tests/kvm/tests/ksm_overcommit.py index b3d6880..24d6643 100644 ---

[PATCH 4/4] guest_reserve, host_reserve and tmpfs overhead automatic calculation based on used memory

2010-05-08 Thread Lukas Doktor
Signed-off-by: Lukas Doktor ldok...@redhat.com Signed-off-by: Jiri Zupka jzu...@redhat.com --- client/tests/kvm/scripts/allocator.py| 11 +--- client/tests/kvm/tests/ksm_overcommit.py | 41 +++--- client/tests/kvm/tests_base.cfg.sample |6 ++-- 3 files