Power management core functionality (#217)

* feat(power-management-core): add core power management control messages for kratad

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): expose xen hypercall client publicly

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): add indexmap to kratart crate dependencies

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): implement power management core in kratart

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): bubble up runtime context in daemon/control service

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): expose performance/efficiency core data in protobuf

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): fix up some protobuf message names

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): fix up performance core heuristic

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): implement GetHostCpuTopology RPC

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): hackfix to get sysctls working with tokio

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): borrow the PowerManagementContext when calling functions belonging to it

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): remove GetHostPowerManagementPolicy RPC for now

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): implement SetHostPowerManagementPolicy RPC

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): add cpu-topology command

Signed-off-by: Ariadne Conill <[email protected]>

* feat(power-management-core): appease format checking

Signed-off-by: Ariadne Conill <[email protected]>

* fix(runtime): cpu topology corrections

---------

Signed-off-by: Ariadne Conill <[email protected]>
Co-authored-by: Alex Zenla <[email protected]>
This commit is contained in:
Ariadne Conillandalex authored and GitHub committed 2024-06-29 15:43:08 -07:00
1 parent 39ded9c7f4
commit a79320b4fc
15 files changed
+349 -30

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ pub mod tx;
#[derive(Clone)]
pub struct XenClient<P: BootSetupPlatform> {
pub store: XsdClient,
call: XenCall,
pub call: XenCall,
domain_manager: Arc<BaseDomainManager<P>>,
}