Skip to content

Commit

Permalink
iSCSI: We dont need to explicitely call qemu_notify_event() any more
Browse files Browse the repository at this point in the history
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 40a13ca)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
  • Loading branch information
sahlberg authored and mdroth committed Oct 12, 2012
1 parent ae06193 commit 60088e5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions block/iscsi.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 60088e5

Please sign in to comment.