chore(powermgmt): disable for now as a hackfix

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
This commit is contained in:
Ariadne Conill
2024-07-09 20:36:06 -07:00
parent 783dd51f05
commit 1ca63e9c08

View File

@ -127,11 +127,12 @@ impl Daemon {
// TODO: Create a way of abstracting early init tasks in kratad. // TODO: Create a way of abstracting early init tasks in kratad.
// TODO: Make initial power management policy configurable. // TODO: Make initial power management policy configurable.
let power = runtime.power_management_context().await?; // FIXME: Power management hypercalls fail when running as an L1 hypervisor.
power.set_smt_policy(true).await?; // let power = runtime.power_management_context().await?;
power // power.set_smt_policy(true).await?;
.set_scheduler_policy("performance".to_string()) // power
.await?; // .set_scheduler_policy("performance".to_string())
// .await?;
Ok(Self { Ok(Self {
store, store,