From df13340439134192514b454102c4741172f2b862 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 15 Dec 2017 12:08:14 +1100 Subject: [PATCH] [host] reset the update count when the guest flags a restart --- host/Service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/host/Service.cpp b/host/Service.cpp index 83380563..d6fae2aa 100644 --- a/host/Service.cpp +++ b/host/Service.cpp @@ -183,6 +183,7 @@ bool Service::Process() // check if the client has flagged a restart if (f & KVMFR_HEADER_FLAG_RESTART) { + m_header->updateCount = 0; INTERLOCKED_AND8((volatile char *)flags, ~(KVMFR_HEADER_FLAG_RESTART)); restart = true; break;