Currently the ASSERT(IsZeroMemory(...)) will fail because nothing zeroes
the interrupt count added in commit
162545540cb9 ("Make sure the interrupt
handler for each vCPU is run..."). This patch sets it to zero just after
calling IoDisconnectInterruptEx() (which unhooks FdoInterruptCallback(), where
the count is incremented).
Signed-off-by: Paul Durrant <pdurrant@amazon.com>
IoDisconnectInterruptEx(&Disconnect);
+ Interrupt->Count = 0;
+
Interrupt->Line = 0;
Interrupt->InterruptObject = NULL;
Interrupt->InterruptMode = 0;