From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 41C49A00BE; Thu, 10 Mar 2022 17:59:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3394E4113F; Thu, 10 Mar 2022 17:59:09 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id BF9944113E for ; Thu, 10 Mar 2022 17:59:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646931547; x=1678467547; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=RTVsVoQywyo8AJPsjixl4wjMWQQv4KxXq2UQt/W9sR8=; b=mxH+RRDAJDqw+OxjHmLE4qZuDjAPJruIQa7VF5tLULnNFx/1ieE/8DWk +TIPpnhE32eDEOE+bGyc/tF1l95DaGSv3TQ4Lh93vKmRT2q++Kyu+N7TG a7+xTgUL7kMYd8mMgMDcAesx8cfps9iZOP0EJ5nuzSWvqfhQwhdAYZv/o /LTH0rOIeQ7npRL/A7U8dKiFmeQvRV7r9szyBqW53nrZ5jBMW5YsSIJ60 h4m1AQWCh66oKWAsuTUQ8G0eMXOFgwshpPhFn+NQM/uxUKjvhoHNz1QdA I3TA+hm1XExiyIe90BlzBbUJn8rwQNrW4tqbTkHmYuHSdlkcjIkO22ppM A==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="318529271" X-IronPort-AV: E=Sophos;i="5.90,171,1643702400"; d="scan'208";a="318529271" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 08:59:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,171,1643702400"; d="scan'208";a="596728742" Received: from silpixa00401183.ir.intel.com ([10.55.129.105]) by fmsmga008.fm.intel.com with ESMTP; 10 Mar 2022 08:59:04 -0800 From: Tadhg Kearney To: dts@dpdk.org Cc: reshma.pattan@intel.com, Tadhg Kearney Subject: [dts][PATCH 2/2] tests/TestSuite_vm_power_manager: modify vm_power_manger to use 8 CPU's over 4 Date: Thu, 10 Mar 2022 16:58:56 +0000 Message-Id: <20220310165856.889349-3-tadhg.kearney@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220310165856.889349-1-tadhg.kearney@intel.com> References: <20220310165856.889349-1-tadhg.kearney@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Signed-off-by: Tadhg Kearney --- tests/TestSuite_vm_power_manager.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_vm_power_manager.py b/tests/TestSuite_vm_power_manager.py index 06419de6..7e021387 100644 --- a/tests/TestSuite_vm_power_manager.py +++ b/tests/TestSuite_vm_power_manager.py @@ -73,7 +73,15 @@ class TestVmPowerManager(TestCase): {'path': '/tmp/powermonitor/%s.2' % self.vm_name, 'name': 'virtio.serial.port.poweragent.2'}, {'path': '/tmp/powermonitor/%s.3' % - self.vm_name, 'name': 'virtio.serial.port.poweragent.3'} + self.vm_name, 'name': 'virtio.serial.port.poweragent.3'}, + {'path': '/tmp/powermonitor/%s.4' % + self.vm_name, 'name': 'virtio.serial.port.poweragent.4'}, + {'path': '/tmp/powermonitor/%s.5' % + self.vm_name, 'name': 'virtio.serial.port.poweragent.5'}, + {'path': '/tmp/powermonitor/%s.6' % + self.vm_name, 'name': 'virtio.serial.port.poweragent.6'}, + {'path': '/tmp/powermonitor/%s.7' % + self.vm_name, 'name': 'virtio.serial.port.poweragent.7'} ] for channel in channels: self.vm.add_vm_virtio_serial_channel(**channel) @@ -92,9 +100,9 @@ class TestVmPowerManager(TestCase): self.verify("No such" not in out, "Compilation error") self.path = self.vm_dut.apps_name['guest_cli'] - self.guest_cmd = self.path + "-c 0xf -n 4 -- --vm-name=%s --vcpu-list=0,1,2,3" % self.vm_name + self.guest_cmd = self.path + "-c 0xff -n 8 -- --vm-name=%s --vcpu-list=0,1,2,3,4,5,6,7" % self.vm_name self.vm_power_dir = self.vm_dut.apps_name['vm_power_manager'] - mgr_cmd = self.vm_power_dir + "-c 0x1ff -n 4" + mgr_cmd = self.vm_power_dir + "-c 0xfff -n 8" out = self.dut.send_expect(mgr_cmd, "vmpower>", 120) self.dut.send_expect("add_vm %s" % self.vm_name, "vmpower>") self.dut.send_expect("add_channels %s all" % self.vm_name, "vmpower>") -- 2.25.1 -------------------------------------------------------------- Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.