From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id BAB78D59A for ; Wed, 11 Jan 2017 09:39:10 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 11 Jan 2017 00:39:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,345,1477983600"; d="scan'208";a="28923546" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga002.jf.intel.com with ESMTP; 11 Jan 2017 00:39:08 -0800 Message-ID: <5875EE2B.6020106@intel.com> Date: Wed, 11 Jan 2017 16:34:51 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Rami Rosen CC: dts@dpdk.org References: <1483822316-14674-1-git-send-email-rami.rosen@intel.com> In-Reply-To: <1483822316-14674-1-git-send-email-rami.rosen@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH] tests: create the vm2 DUT with vm2 in sriov kvm TestSuite. X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 08:39:11 -0000 Thanks Rami. Applied into master branch. On 01/08/2017 04:51 AM, Rami Rosen wrote: > This patch fixes the setup_4vm_4vf_env() method in sriov kvm TestSuite > to use vm2 for creating vm2 DUT, instead of wrongly using vm1 for this. > > Signed-off-by: Rami Rosen > --- > tests/TestSuite_sriov_kvm.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py > index 41af4dd..43d5ccf 100644 > --- a/tests/TestSuite_sriov_kvm.py > +++ b/tests/TestSuite_sriov_kvm.py > @@ -441,7 +441,7 @@ class TestSriovKvm(TestCase): > > self.vm2 = QEMUKvm(self.dut, 'vm2', 'sriov_kvm') > self.vm2.set_vm_device(driver='pci-assign', **vf2_prop) > - self.vm_dut_2 = self.vm1.start() > + self.vm_dut_2 = self.vm2.start() > if self.vm_dut_2 is None: > raise Exception("Set up VM2 ENV failed!") >