iSCSI: We dont need to explicitely call qemu_notify_event() any more
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 30 Aug 2012 23:56:36 +0000 (16:56 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Sep 2012 14:12:33 +0000 (16:12 +0200)
We no longer need to explicitely call qemu_notify_event() any more
since this is now done automatically any time the filehandles we listen
to change.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
block/iscsi.c

index ea16609..fb001b9 100644 (file)
@@ -167,12 +167,6 @@ iscsi_set_events(IscsiLun *iscsilun)
 
     }
 
-    /* If we just added an event, the callback might be delayed
-     * unless we call qemu_notify_event().
-     */
-    if (ev & ~iscsilun->events) {
-        qemu_notify_event();
-    }
     iscsilun->events = ev;
 }