From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hunt Subject: [PATCH v2 3/7] examples/power: add necessary changes to guest app Date: Wed, 12 Sep 2018 15:49:26 +0100 Message-ID: <20180912144930.50578-4-david.hunt@intel.com> References: <20180830105422.1198-1-david.hunt@intel.com> <20180912144930.50578-1-david.hunt@intel.com> Cc: john.mcnamara@intel.com, stephen@networkplumber.org, lei.a.yao@intel.com, David Hunt To: dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A82894CB5 for ; Wed, 12 Sep 2018 16:50:48 +0200 (CEST) In-Reply-To: <20180912144930.50578-1-david.hunt@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The changes here are minimal, as the guest app functionality is not changing at all, but there is a new element in the channel_packet struct that needs to have a default set (channel_packet->core_type). Signed-off-by: David Hunt --- examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c index 0db1b804f..88b825c3b 100644 --- a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c +++ b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c @@ -92,6 +92,7 @@ set_policy_defaults(struct channel_packet *pkt) pkt->timer_policy.hours_to_use_traffic_profile[0] = 8; pkt->timer_policy.hours_to_use_traffic_profile[1] = 10; + pkt->core_type = VIRTUAL; pkt->workload = LOW; pkt->policy_to_use = TIME; pkt->command = PKT_POLICY; -- 2.17.1