chore(powermgmt): disable for now as a hackfix (#242)

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
This commit is contained in:
Ariadne Conill 2024-07-09 20:47:02 -07:00 committed by GitHub
parent 783dd51f05
commit b2dd4af09b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,