From patchwork Sat May 8 17:01:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?THVrw6HFoSBEb2t0b3I=?= X-Patchwork-Id: 97930 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o48H1wha017278 for ; Sat, 8 May 2010 17:01:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754232Ab0EHRB0 (ORCPT ); Sat, 8 May 2010 13:01:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39678 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754178Ab0EHRBY (ORCPT ); Sat, 8 May 2010 13:01:24 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o48H1NZc024868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 8 May 2010 13:01:24 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o48H1BYX006901; Sat, 8 May 2010 13:01:19 -0400 From: Lukas Doktor To: ldoktor@redhat.com Cc: jzupka@redhat.com, kvm@vger.kernel.org, autotest@test.kernel.org, jasowang@redhat.com, lmr@redhat.com Subject: [PATCH 3/4] FIX: Incorrect session in function split_guest() Date: Sat, 8 May 2010 18:01:10 +0100 Message-Id: <1273338071-8595-4-git-send-email-ldoktor@redhat.com> In-Reply-To: <[KVM_AUTOTEST][PATCH] KSM_overcommit: dynamic reserve calculation (2)> References: <[KVM_AUTOTEST][PATCH] KSM_overcommit: dynamic reserve calculation (2)> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 08 May 2010 17:01:58 +0000 (UTC) diff --git a/client/tests/kvm/tests/ksm_overcommit.py b/client/tests/kvm/tests/ksm_overcommit.py index b3d6880..24d6643 100644 --- a/client/tests/kvm/tests/ksm_overcommit.py +++ b/client/tests/kvm/tests/ksm_overcommit.py @@ -212,7 +212,7 @@ def run_ksm_overcommit(test, params, env): # Verify last machine with randomly generated memory a_cmd = "mem.static_random_verify()" - _execute_allocator(a_cmd, lvms[last_vm], session, + _execute_allocator(a_cmd, lvms[last_vm], lsessions[last_vm], (mem / 200 * 50 * perf_ratio)) logging.debug(kvm_test_utils.get_memory_info([lvms[last_vm]]))