On Tue, Nov 27, 2012 at 3:32 AM, Mike <[email protected]> wrote:
> Hi all
>
> Now I try to test the KSM case in my machine.
> the path: virt/kvm/tests/ksm_overcommit.py
>
> It has two cases , one is in serial mode other one is parallel mode
>
> for parallel mode it just create one VM and test KSM.
> this shouldn't be a fault????

>From the source code:

409    max_vms = int(params.get("max_vms", 2))
...
563    # Creating other guest systems
564    for i in range(1, vmsc):

So I'm not sure why you thought the test only used a single vm.

> KSM should work for more than one VM,

Yes, and that's precisely what the test does. You might want to get
back to the source code. One of the mistakes we made on this one was
to not put a docstring explaining the steps taken by the test. Copying
Lukas.

Lukas, could you send us a patch with a docstring description of the test?

Cheers,

-- 
Lucas

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to