mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[host] reset the update count when the guest flags a restart
This commit is contained in:
parent
b6c8136565
commit
df13340439
@ -183,6 +183,7 @@ bool Service::Process()
|
|||||||
// check if the client has flagged a restart
|
// check if the client has flagged a restart
|
||||||
if (f & KVMFR_HEADER_FLAG_RESTART)
|
if (f & KVMFR_HEADER_FLAG_RESTART)
|
||||||
{
|
{
|
||||||
|
m_header->updateCount = 0;
|
||||||
INTERLOCKED_AND8((volatile char *)flags, ~(KVMFR_HEADER_FLAG_RESTART));
|
INTERLOCKED_AND8((volatile char *)flags, ~(KVMFR_HEADER_FLAG_RESTART));
|
||||||
restart = true;
|
restart = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user