]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commitdiff
Ensure event channel is unmasked
authorOwen Smith <owen.smith@citrix.com>
Fri, 17 Feb 2017 15:27:03 +0000 (15:27 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 17 Feb 2017 15:41:11 +0000 (15:41 +0000)
If the Pdo is paused, the notifier dpc will not
unmask the event channel. When the Pdo is unpaused, the
event channel remains masked, so no more interrupts
get delivered.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
src/xenvbd/notifier.c

index 0b2664f02b85daaee2479cf4bbea0e153a4d66fd..44e0a83ceeb5f83652ff0f303c48f3eb46ae0330 100644 (file)
@@ -109,21 +109,12 @@ NotifierDpc(
     )
 {
     PXENVBD_NOTIFIER    Notifier = Context;
-    PXENVBD_PDO         Pdo;
 
     UNREFERENCED_PARAMETER(Dpc);
     UNREFERENCED_PARAMETER(Arg1);
     UNREFERENCED_PARAMETER(Arg2);
 
     ASSERT(Notifier != NULL);
-    Pdo = FrontendGetPdo(Notifier->Frontend);
-
-    if (PdoIsPaused(Pdo)) {
-        Warning("Target[%d] : Paused, %d outstanding\n",
-                    PdoGetTargetId(Pdo), PdoOutstandingReqs(Pdo));
-        if (PdoOutstandingReqs(Pdo) == 0)
-            return;
-    }
 
     if (!Notifier->Connected)
         return;