[dpdk-dev] [PATCH 1/4] power: make guest channel headers public

Bruce Richardson bruce.richardson at intel.com
Fri Aug 14 13:05:56 CEST 2020


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 at dpdk.org
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
>  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.


More information about the dev mailing list