test suite reviews and discussions
 help / color / mirror / Atom feed
From: Lijuan Tu <lijuanx.a.tu@intel.com>
To: dts@dpdk.org
Cc: Lijuan Tu <lijuanx.a.tu@intel.com>
Subject: [dts] [PATCH]vm_power_manager: update and can run in new framwork
Date: Thu, 17 Nov 2016 16:51:23 +0800	[thread overview]
Message-ID: <1479372683-3548-1-git-send-email-lijuanx.a.tu@intel.com> (raw)

Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
---
 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'},
-- 
1.9.3

             reply	other threads:[~2016-11-17  8:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-17  8:51 Lijuan Tu [this message]
2016-11-22  9:08 ` Liu, Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479372683-3548-1-git-send-email-lijuanx.a.tu@intel.com \
    --to=lijuanx.a.tu@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).