power: fix build with libvirtFollowing moving rte_power_guest* API from the power library to thekvm_vm driver, the symbols are not exposed anymore, since the libraryhosting them is the kvm_vm dri
power: fix build with libvirtFollowing moving rte_power_guest* API from the power library to thekvm_vm driver, the symbols are not exposed anymore, since the libraryhosting them is the kvm_vm driver binary.Finish this cleanup by hosting the rte_power_guest_channel.h header inthe driver, then version the symbols and add corresponding builddependencies in the vm_power_manager example.Fixes: 6f987b594fa6 ("power: refactor core power management")Signed-off-by: David Marchand <david.marchand@redhat.com>
show more ...
power: refactor core power managementThis patch introduces a comprehensive refactor to the core powermanagement library. The primary focus is on improving modularityand organization by relocating
power: refactor core power managementThis patch introduces a comprehensive refactor to the core powermanagement library. The primary focus is on improving modularityand organization by relocating specific driver implementationsfrom the 'lib/power' directory to dedicated directories within'drivers/power/*'. The adjustment of meson.build filesenables the selective activation of individual drivers.These changes contribute to a significant enhancement in codeorganization, providing a clearer structure for driver implementations.The refactor aims to improve overall code clarity and boostmaintainability. Additionally, it establishes a foundation forfuture development, allowing for more focused work on individualdrivers and seamless integration of forthcoming enhancements.Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com>Acked-by: Huisong Li <lihuisong@huawei.com>