From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 14723379B for ; Tue, 22 Nov 2016 10:09:07 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 22 Nov 2016 01:09:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,680,1473145200"; d="scan'208";a="904260273" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga003.jf.intel.com with ESMTP; 22 Nov 2016 01:09:05 -0800 Message-ID: <58340AF8.4000208@intel.com> Date: Tue, 22 Nov 2016 17:08:08 +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: Lijuan Tu , dts@dpdk.org References: <1479372683-3548-1-git-send-email-lijuanx.a.tu@intel.com> In-Reply-To: <1479372683-3548-1-git-send-email-lijuanx.a.tu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH]vm_power_manager: update and can run in new framwork 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: Tue, 22 Nov 2016 09:09:08 -0000 Thanks, applied. On 11/17/2016 04:51 PM, Lijuan Tu wrote: > Signed-off-by: Lijuan Tu > --- > conf/vm_power_manager.cfg | 3 --- > test_plans/vm_power_manager_test_plan.rst | 1 + > tests/TestSuite_vm_power_manager.py | 4 ++-- > 3 files changed, 3 insertions(+), 5 deletions(-) > > diff --git a/conf/vm_power_manager.cfg b/conf/vm_power_manager.cfg > index c77819b..9c8f87a 100644 > --- a/conf/vm_power_manager.cfg > +++ b/conf/vm_power_manager.cfg > @@ -28,9 +28,6 @@ disk = > file=/storage/vm-image/vm0.img,type=raw; > login = > user=root,password=tester; > -device = > - pf_idx=0,guestpci=00:08.0; > - pf_idx=1,guestpci=00:09.0; > [vm1] > mem = > size=4096; > diff --git a/test_plans/vm_power_manager_test_plan.rst b/test_plans/vm_power_manager_test_plan.rst > index dff8197..3d56bcd 100644 > --- a/test_plans/vm_power_manager_test_plan.rst > +++ b/test_plans/vm_power_manager_test_plan.rst > @@ -77,6 +77,7 @@ Prerequisites > - Enable Kernel features Huge page, UIO, IOMMU, KVM > - Enable Intel IOMMU in kernel commnand > - Disable Selinux > + - Disable intel_pstate > > 3. Virtualization: > - QEMU emulator version 1.6.1 > diff --git a/tests/TestSuite_vm_power_manager.py b/tests/TestSuite_vm_power_manager.py > index e9d25b3..84f06dc 100644 > --- a/tests/TestSuite_vm_power_manager.py > +++ b/tests/TestSuite_vm_power_manager.py > @@ -64,7 +64,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): > self.vcpu_map = [] > # start vm > self.vm_name = "vm0" > - self.vm = LibvirtKvm(self.dut, self.vm_name, self.suite) > + self.vm = LibvirtKvm(self.dut, self.vm_name, self.suite_name) > channels = [ > {'path': '/tmp/powermonitor/%s.0' % > self.vm_name, 'name': 'virtio.serial.port.poweragent.0'}, > @@ -252,7 +252,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator): > cpus = self.dut.get_core_list('1S/4C/1T', socket=1) > self.verify(len(cpus) == 4, "Can't allocate cores from numa 1") > > - vm2 = LibvirtKvm(self.dut, vm_name, self.suite) > + vm2 = LibvirtKvm(self.dut, vm_name, self.suite_name) > channels = [ > {'path': '/tmp/powermonitor/%s.0' % > vm_name, 'name': 'virtio.serial.port.poweragent.0'},