[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fully initialise device power map



From: Matthew Sykes <matthew.sykes@xxxxxxxxxx>

Signed-off-by: Matthew Sykes <matthew.sykes@xxxxxxxxxx>
---
 src/xenvif/pdo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xenvif/pdo.c b/src/xenvif/pdo.c
index 1d163c9..26d3ddb 100644
--- a/src/xenvif/pdo.c
+++ b/src/xenvif/pdo.c
@@ -1840,6 +1840,7 @@ PdoQueryCapabilities(
         case PowerSystemUnspecified:
         case PowerSystemSleeping1:
         case PowerSystemSleeping2:
+                   Capabilities->DeviceState[SystemPowerState] = 
PowerDeviceD0; 
             break;
 
         case PowerSystemWorking:
-- 
2.38.0.windows.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.