From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C8FCC433E1 for ; Fri, 14 Aug 2020 11:06:07 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 153AA206DA for ; Fri, 14 Aug 2020 11:06:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 153AA206DA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2EB0C1C0D5; Fri, 14 Aug 2020 13:06:06 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 81B941C0D4; Fri, 14 Aug 2020 13:06:04 +0200 (CEST) IronPort-SDR: zVsDAAsScaK4zU9cARK7O3fLcgu2TOwGdxA4YKIMFmG/qH9MxhxyuVs8M4YC0qDuqxaRW7zNym YF45hCRnoKUg== X-IronPort-AV: E=McAfee;i="6000,8403,9712"; a="134446069" X-IronPort-AV: E=Sophos;i="5.76,312,1592895600"; d="scan'208";a="134446069" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2020 04:06:03 -0700 IronPort-SDR: saMzHAX5QGY1mcKIMU7XTb061iXkR0YllSyQEPOjqhZiGkFc3UdSZjIZVD7FWqY4orPriIDhQ1 3VtUTFmKfBXg== X-IronPort-AV: E=Sophos;i="5.76,312,1592895600"; d="scan'208";a="470554881" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.45.63]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 14 Aug 2020 04:06:01 -0700 Date: Fri, 14 Aug 2020 12:05:56 +0100 From: Bruce Richardson To: dev@dpdk.org Cc: stable@dpdk.org, David Hunt , Pablo de Lara , Alan Carew Message-ID: <20200814110556.GD1970@bricha3-MOBL.ger.corp.intel.com> References: <20200814110045.217724-1-bruce.richardson@intel.com> <20200814110045.217724-2-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200814110045.217724-2-bruce.richardson@intel.com> Subject: Re: [dpdk-dev] [PATCH 1/4] power: make guest channel headers public X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Aug 14, 2020 at 12:00:42PM +0100, Bruce Richardson wrote: > The channel commands header file contains definitions that are used by the > example application for power management, and so need to be made public. > Similarly the guest_channel.h header is used by the guest_cli example > utility, so needs to be public also. Without this change, the example > apps, or any end-user apps based on them, can not be compiled outside the > main DPDK build. > > Fixes: 210c383e247b ("power: packet format for vm power management") > Fixes: cd0d5547e873 ("power: vm communication channels in guest") > Cc: stable@dpdk.org > > Signed-off-by: Bruce Richardson > --- > examples/vm_power_manager/channel_manager.c | 1 - > examples/vm_power_manager/channel_monitor.c | 1 - > examples/vm_power_manager/channel_monitor.h | 2 +- > examples/vm_power_manager/guest_cli/main.c | 1 + > examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 2 +- > examples/vm_power_manager/guest_cli/vm_power_cli_guest.h | 2 +- > examples/vm_power_manager/vm_power_cli.c | 1 - > lib/librte_power/guest_channel.c | 3 +-- > lib/librte_power/meson.build | 4 +++- > lib/librte_power/power_kvm_vm.c | 3 +-- > .../{channel_commands.h => rte_power_channel_commands.h} | 0 > .../{guest_channel.h => rte_power_guest_channel.h} | 2 +- > 12 files changed, 10 insertions(+), 12 deletions(-) > rename lib/librte_power/{channel_commands.h => rte_power_channel_commands.h} (100%) > rename lib/librte_power/{guest_channel.h => rte_power_guest_channel.h} (98%) > Note, this patch does not include the makefile changes, as the work was done when testing with the makefile removal patchset applied, and make support is being removed in this release.