|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] Fully initialise device power map
From: Matthew Sykes <msykes@xxxxxxxxx>
Signed-off-by: Matthew Sykes <msykes@xxxxxxxxx>
---
src/xenbus/pdo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xenbus/pdo.c b/src/xenbus/pdo.c
index 5e6fff3..08f5dfe 100644
--- a/src/xenbus/pdo.c
+++ b/src/xenbus/pdo.c
@@ -1139,6 +1139,7 @@ PdoQueryCapabilities(
case PowerSystemUnspecified:
case PowerSystemSleeping1:
case PowerSystemSleeping2:
+ Capabilities->DeviceState[SystemPowerState] =
PowerDeviceD0;
break;
case PowerSystemWorking:
--
2.38.0.windows.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |