render / rpms / qemu

Forked from rpms/qemu 9 months ago
Clone

Blame 0212-iSCSI-We-dont-need-to-explicitely-call-qemu_notify_e.patch

5544c1
From 05bfce1ee580c715dc3d220297b05097bdd007d2 Mon Sep 17 00:00:00 2001
5544c1
From: Ronnie Sahlberg <ronniesahlberg@gmail.com>
5544c1
Date: Thu, 30 Aug 2012 16:56:36 -0700
5544c1
Subject: [PATCH] iSCSI: We dont need to explicitely call qemu_notify_event()
5544c1
 any more
5544c1
5544c1
We no longer need to explicitely call qemu_notify_event() any more
5544c1
since this is now done automatically any time the filehandles we listen
5544c1
to change.
5544c1
5544c1
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
5544c1
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
5544c1
(cherry picked from commit 40a13ca8d28c21062e35b10d9b80e76b92405bdf)
5544c1
5544c1
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
5544c1
---
5544c1
 block/iscsi.c | 6 ------
5544c1
 1 file changed, 6 deletions(-)
5544c1
5544c1
diff --git a/block/iscsi.c b/block/iscsi.c
5544c1
index ea16609..fb001b9 100644
5544c1
--- a/block/iscsi.c
5544c1
+++ b/block/iscsi.c
5544c1
@@ -167,12 +167,6 @@ iscsi_set_events(IscsiLun *iscsilun)
5544c1
 
5544c1
     }
5544c1
 
5544c1
-    /* If we just added an event, the callback might be delayed
5544c1
-     * unless we call qemu_notify_event().
5544c1
-     */
5544c1
-    if (ev & ~iscsilun->events) {
5544c1
-        qemu_notify_event();
5544c1
-    }
5544c1
     iscsilun->events = ev;
5544c1
 }
5544c1
 
5544c1
-- 
5544c1
1.7.12.1
5544c1