]> git.proxmox.com Git - qemu.git/commitdiff
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)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 12 Oct 2012 02:44:19 +0000 (21:44 -0500)
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>
(cherry picked from commit 40a13ca8d28c21062e35b10d9b80e76b92405bdf)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/iscsi.c

index ea1660948d6920273b946d86097db63681417b63..fb001b955c5f42e72a57363141196f1dd3a48f6d 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;
 }