diff mbox series

[PULL,07/47] memory: set ioeventfd_update_pending after address_space_update_ioeventfds

Message ID 1517858941-5538-8-git-send-email-pbonzini@redhat.com
State New
Headers show
Series [PULL,01/47] memory: update comments and fix some typos | expand

Commit Message

Paolo Bonzini Feb. 5, 2018, 7:28 p.m. UTC
From: linzhecheng <linzc@zju.edu.cn>

We should set ioeventfd_update_pending same as memory_region_update_pending.

Signed-off-by: linzhecheng <linzc@zju.edu.cn>
Message-Id: <1515934519-16158-1-git-send-email-linzc@zju.edu.cn>
Cc: qemu-stable@nongnu.org
Fixes: ade9c1aac5292ff698fa550adebe794c37d86cc9
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 memory.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/memory.c b/memory.c
index 449a142..9e83496 100644
--- a/memory.c
+++ b/memory.c
@@ -1091,6 +1091,7 @@  void memory_region_transaction_commit(void)
                 address_space_update_ioeventfds(as);
             }
             memory_region_update_pending = false;
+            ioeventfd_update_pending = false;
             MEMORY_LISTENER_CALL_GLOBAL(commit, Forward);
         } else if (ioeventfd_update_pending) {
             QTAILQ_FOREACH(as, &address_spaces, address_spaces_link) {