From patchwork Wed Mar 10 16:45:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yogi X-Patchwork-Id: 84638 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 o2AGjhcg028660 for ; Wed, 10 Mar 2010 16:45:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756902Ab0CJQpl (ORCPT ); Wed, 10 Mar 2010 11:45:41 -0500 Received: from e23smtp08.au.ibm.com ([202.81.31.141]:51109 "EHLO e23smtp08.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756888Ab0CJQpk (ORCPT ); Wed, 10 Mar 2010 11:45:40 -0500 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [202.81.31.246]) by e23smtp08.au.ibm.com (8.14.3/8.13.1) with ESMTP id o2AGjcYg026389 for ; Thu, 11 Mar 2010 03:45:38 +1100 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o2AGdtta1306764 for ; Thu, 11 Mar 2010 03:39:55 +1100 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o2AGjbjG007090 for ; Thu, 11 Mar 2010 03:45:38 +1100 Received: from localhost.localdomain (yogi-laptop.in.ibm.com [9.124.158.64]) by d23av03.au.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id o2AGjZNZ007021; Thu, 11 Mar 2010 03:45:36 +1100 From: Yogananth Subramanian To: lmr@redhat.com Cc: autotest@test.kernel.org, kvm@vger.kernel.org, anantyog@linux.vnet.ibm.com Subject: [PATCH] [Autotest] [KVM-AUTOTEST] fix tap interface for parallel execution Date: Wed, 10 Mar 2010 22:15:33 +0530 Message-Id: <1268239533-20378-2-git-send-email-anantyog@linux.vnet.ibm.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1268239533-20378-1-git-send-email-anantyog@linux.vnet.ibm.com> References: <1268239533-20378-1-git-send-email-anantyog@linux.vnet.ibm.com> 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]); Wed, 10 Mar 2010 16:45:43 +0000 (UTC) different "address_index" Signed-off-by: Yogananth Subramanian --- client/tests/kvm/kvm_scheduler.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/kvm_scheduler.py b/client/tests/kvm/kvm_scheduler.py index 93b7df6..9000391 100644 --- a/client/tests/kvm/kvm_scheduler.py +++ b/client/tests/kvm/kvm_scheduler.py @@ -33,7 +33,8 @@ class scheduler: # "Personal" worker dicts contain modifications that are applied # specifically to each worker. For example, each worker must use a # different environment file and a different MAC address pool. - self.worker_dicts = [{"env": "env%d" % i} for i in range(num_workers)] + self.worker_dicts = [{"env": "env%d" % i, "address_index": i-1} + for i in range(num_workers)] def worker(self, index, run_test_func):