From: Ronnie Sahlberg Date: Thu, 30 Aug 2012 23:56:36 +0000 (-0700) Subject: iSCSI: We dont need to explicitely call qemu_notify_event() any more X-Git-Tag: v1.2.1~30 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=60088e5b8332fc523919a137231824e222730636;p=qemu.git iSCSI: We dont need to explicitely call qemu_notify_event() any more 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 Signed-off-by: Paolo Bonzini (cherry picked from commit 40a13ca8d28c21062e35b10d9b80e76b92405bdf) Signed-off-by: Michael Roth --- diff --git a/block/iscsi.c b/block/iscsi.c index ea1660948..fb001b955 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -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; }