test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH 0/2] modify vm_power_manger to use 8 CPU's over 4
@ 2022-03-10 16:58 Tadhg Kearney
  2022-03-10 16:58 ` [dts][PATCH 1/2] conf/vm_power_manager: modify vm_power_manager " Tadhg Kearney
  2022-03-10 16:58 ` [dts][PATCH 2/2] tests/TestSuite_vm_power_manager: modify vm_power_manger " Tadhg Kearney
  0 siblings, 2 replies; 4+ messages in thread
From: Tadhg Kearney @ 2022-03-10 16:58 UTC (permalink / raw)
  To: dts; +Cc: reshma.pattan, Tadhg Kearney

Vm_power_manager needs to use 8 CPU's in order to work with rest of DTS CI
due to compatability issues.

Tadhg Kearney (2):
  conf/vm_power_manager: modify vm_power_manager to use 8 CPU's over 4
  tests/TestSuite_vm_power_manager: modify vm_power_manger to use 8
    CPU's over 4

 conf/vm_power_manager.cfg           |  2 +-
 tests/TestSuite_vm_power_manager.py | 14 +++++++++++---
 2 files changed, 12 insertions(+), 4 deletions(-)

-- 
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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts][PATCH 1/2] conf/vm_power_manager: modify vm_power_manager to use 8 CPU's over 4
  2022-03-10 16:58 [dts][PATCH 0/2] modify vm_power_manger to use 8 CPU's over 4 Tadhg Kearney
@ 2022-03-10 16:58 ` Tadhg Kearney
  2022-03-10 16:58 ` [dts][PATCH 2/2] tests/TestSuite_vm_power_manager: modify vm_power_manger " Tadhg Kearney
  1 sibling, 0 replies; 4+ messages in thread
From: Tadhg Kearney @ 2022-03-10 16:58 UTC (permalink / raw)
  To: dts; +Cc: reshma.pattan, Tadhg Kearney

Signed-off-by: Tadhg Kearney <tadhg.kearney@intel.com>
---
 conf/vm_power_manager.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/vm_power_manager.cfg b/conf/vm_power_manager.cfg
index aee2f38a..fab8aaed 100644
--- a/conf/vm_power_manager.cfg
+++ b/conf/vm_power_manager.cfg
@@ -26,7 +26,7 @@
 #os =
 #    loader=/usr/share/AAVMF/AAVMF_CODE.fd,nvram=/var/lib/libvirt/qemu/nvram/vm0_VARS.fd;
 cpu =
-    number=4,cpupin=5 6 7 8;
+    number=8,cpupin=4 5 6 7 8 9 10 11;
 mem =
     size=4096;
 disk =
-- 
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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts][PATCH 2/2] tests/TestSuite_vm_power_manager: modify vm_power_manger to use 8 CPU's over 4
  2022-03-10 16:58 [dts][PATCH 0/2] modify vm_power_manger to use 8 CPU's over 4 Tadhg Kearney
  2022-03-10 16:58 ` [dts][PATCH 1/2] conf/vm_power_manager: modify vm_power_manager " Tadhg Kearney
@ 2022-03-10 16:58 ` Tadhg Kearney
  2022-03-11 12:27   ` Tu, Lijuan
  1 sibling, 1 reply; 4+ messages in thread
From: Tadhg Kearney @ 2022-03-10 16:58 UTC (permalink / raw)
  To: dts; +Cc: reshma.pattan, Tadhg Kearney

Signed-off-by: Tadhg Kearney <tadhg.kearney@intel.com>
---
 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [dts][PATCH 2/2] tests/TestSuite_vm_power_manager: modify vm_power_manger to use 8 CPU's over 4
  2022-03-10 16:58 ` [dts][PATCH 2/2] tests/TestSuite_vm_power_manager: modify vm_power_manger " Tadhg Kearney
@ 2022-03-11 12:27   ` Tu, Lijuan
  0 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2022-03-11 12:27 UTC (permalink / raw)
  To: Kearney, Tadhg, dts; +Cc: Pattan, Reshma, Kearney, Tadhg

> -----Original Message-----
> From: Tadhg Kearney <tadhg.kearney@intel.com>
> Sent: 2022年3月11日 0:59
> To: dts@dpdk.org
> Cc: Pattan, Reshma <reshma.pattan@intel.com>; Kearney, Tadhg
> <tadhg.kearney@intel.com>
> Subject: [dts][PATCH 2/2] tests/TestSuite_vm_power_manager: modify
> vm_power_manger to use 8 CPU's over 4
> 
> Signed-off-by: Tadhg Kearney <tadhg.kearney@intel.com>

Series applied

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-11 12:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-10 16:58 [dts][PATCH 0/2] modify vm_power_manger to use 8 CPU's over 4 Tadhg Kearney
2022-03-10 16:58 ` [dts][PATCH 1/2] conf/vm_power_manager: modify vm_power_manager " Tadhg Kearney
2022-03-10 16:58 ` [dts][PATCH 2/2] tests/TestSuite_vm_power_manager: modify vm_power_manger " Tadhg Kearney
2022-03-11 12:27   ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).