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: 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,