mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-02 21:00:55 +00:00
chore(powermgmt): disable for now as a hackfix
Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
This commit is contained in:
parent
783dd51f05
commit
1ca63e9c08
@ -127,11 +127,12 @@ impl Daemon {
|
||||
|
||||
// TODO: Create a way of abstracting early init tasks in kratad.
|
||||
// TODO: Make initial power management policy configurable.
|
||||
let power = runtime.power_management_context().await?;
|
||||
power.set_smt_policy(true).await?;
|
||||
power
|
||||
.set_scheduler_policy("performance".to_string())
|
||||
.await?;
|
||||
// FIXME: Power management hypercalls fail when running as an L1 hypervisor.
|
||||
// let power = runtime.power_management_context().await?;
|
||||
// power.set_smt_policy(true).await?;
|
||||
// power
|
||||
// .set_scheduler_policy("performance".to_string())
|
||||
// .await?;
|
||||
|
||||
Ok(Self {
|
||||
store,
|
||||
|
Loading…
Reference in New Issue
Block a user