test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yong Liu <yong.liu@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH 1/3] Add VM configuration file for vm power management feature
Date: Thu,  9 Jul 2015 11:36:17 +0800	[thread overview]
Message-ID: <1436412979-30921-2-git-send-email-yong.liu@intel.com> (raw)
In-Reply-To: <1436412979-30921-1-git-send-email-yong.liu@intel.com>

From: Marvin Liu <yong.liu@intel.com>

Signed-off-by: Marvin Liu <yong.liu@intel.com>

diff --git a/conf/virt_global.cfg b/conf/virt_global.cfg
index f26a90c..176650a 100644
--- a/conf/virt_global.cfg
+++ b/conf/virt_global.cfg
@@ -7,8 +7,6 @@ cpu =
     number=4,cpupin=3 4 5 6;
 mem =
     size=2048;
-net = 
-    local=unused
 [KVM]
 cpu = 
     model=host,number=4,cpupin=3 4 5 6;
diff --git a/conf/vm_power_manager.cfg b/conf/vm_power_manager.cfg
new file mode 100644
index 0000000..5443730
--- /dev/null
+++ b/conf/vm_power_manager.cfg
@@ -0,0 +1,42 @@
+# libvirtd options:
+# [VM name] section value is the name for VM
+# cpu       # hard code type to host-passthrough
+#   number: number of vcpus
+#   cpupin: host cpu list
+# mem
+#   size: 4096
+# disk
+#   file: absolute path to disk image
+#   type: disk image format
+# login
+#   user: user name to login into VM
+#   password: passwork to login into VM
+# device
+#   pf_idx: pass-through device index of DUT ports
+#   guestpci: hardcode value of guest pci address
+# virtio_serial_channel
+#   path: virtio unix socket absolute path
+#   name: virtio serial name in VM
+
+# vm configuration for vm power management case
+[vm0]
+cpu =
+    number=4,cpupin=5 6 7 8;
+mem =
+    size=4096;
+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]
+cpu =
+    number=4,cpupin=9 10 11 12;
+mem =
+    size=4096;
+disk =
+    file=/storage/vm-image/vm1.img,type=raw;
+login =
+    user=root,password=tester;
-- 
1.9.3

  reply	other threads:[~2015-07-09  3:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09  3:36 [dts] [PATCH 0/3] Add vm power management feature support Yong Liu
2015-07-09  3:36 ` Yong Liu [this message]
2015-07-09  3:36 ` [dts] [PATCH 2/3] Add test plan for vm power management feature Yong Liu
2015-07-09  3:36 ` [dts] [PATCH 3/3] Add test suite " Yong Liu

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=1436412979-30921-2-git-send-email-yong.liu@intel.com \
    --to=yong.liu@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).