[prev in list] [next in list] [prev in thread] [next in thread] 

List:       win-pv-devel
Subject:    Re: [win-pv-devel] [PATCH] Avoid repeatedly acting as if returning from	suspend
From:       Paul Durrant <Paul.Durrant () citrix ! com>
Date:       2017-03-29 13:04:15
Message-ID: da75ae4b028c4cf89cf942c935a060db () AMSPEX02CL03 ! citrite ! net
[Download RAW message or body]

> -----Original Message-----
> From: win-pv-devel [mailto:win-pv-devel-bounces@lists.xenproject.org] On
> Behalf Of Ben Chalmers
> Sent: 29 March 2017 13:43
> To: win-pv-devel@lists.xenproject.org
> Cc: Ben Chalmers <ben.chalmers@citrix.com>
> 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@citrix.com

Acked-by: Paul Durrant <paul.durrant@citrix.com>

> ---
>  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@lists.xenproject.org
> https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
_______________________________________________
win-pv-devel mailing list
win-pv-devel@lists.xenproject.org
https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic