[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [win-pv-devel] [PATCH] Avoid repeatedly acting as if returning from suspend
> -----Original Message----- > From: win-pv-devel [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On > Behalf Of Ben Chalmers > Sent: 29 March 2017 13:43 > To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx > Cc: Ben Chalmers <ben.chalmers@xxxxxxxxxx> > Subject: [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 Acked-by: Paul Durrant <paul.durrant@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 _______________________________________________ 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 |