[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH] Avoid repeatedly acting as if returning from suspend
Setting m_count to equal count means we will fall out of CheckSuspend early, if initiated by a timeout when a new suspend has not occurred Signed-Off-By : Ben.Chalmers@xxxxxxxxxx --- src/xenagent/service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenagent/service.cpp b/src/xenagent/service.cpp index 2670ac0..65ee286 100644 --- a/src/xenagent/service.cpp +++ b/src/xenagent/service.cpp @@ -584,6 +584,7 @@ void CXenAgent::CheckSuspend() StopShutdownWatch(); StartShutdownWatch(); SetXenTime(); + m_count = count; } void CXenAgent::SetServiceStatus(DWORD state, DWORD exit /*= 0*/, DWORD hint /*= 0*/) -- 2.7.0.windows.1 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |