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 1D6905A8B for ; Thu, 9 Jul 2015 05:36:28 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 08 Jul 2015 20:36:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,436,1432623600"; d="scan'208";a="758806198" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga002.fm.intel.com with ESMTP; 08 Jul 2015 20:36:28 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t693aPOJ026063; Thu, 9 Jul 2015 11:36:25 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t693aNQS030964; Thu, 9 Jul 2015 11:36:25 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t693aNJ6030960; Thu, 9 Jul 2015 11:36:23 +0800 From: Yong Liu To: dts@dpdk.org Date: Thu, 9 Jul 2015 11:36:17 +0800 Message-Id: <1436412979-30921-2-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1436412979-30921-1-git-send-email-yong.liu@intel.com> References: <1436412979-30921-1-git-send-email-yong.liu@intel.com> Subject: [dts] [PATCH 1/3] Add VM configuration file for vm power management feature 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: Thu, 09 Jul 2015 03:36:29 -0000 From: Marvin Liu Signed-off-by: Marvin Liu 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