[qemu-xen master] memory: set ioeventfd_update_pending after address_space_update_ioeventfds

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[qemu-xen master] memory: set ioeventfd_update_pending after address_space_update_ioeventfds

patchbot
commit ab7b4f67344f1371b181d2515408f4ee4a6cd52d
Author:     linzhecheng <[hidden email]>
AuthorDate: Sun Jan 14 20:55:19 2018 +0800
Commit:     Michael Roth <[hidden email]>
CommitDate: Sun Feb 11 20:24:14 2018 -0600

    memory: set ioeventfd_update_pending after address_space_update_ioeventfds
   
    We should set ioeventfd_update_pending same as memory_region_update_pending.
   
    Signed-off-by: linzhecheng <[hidden email]>
    Message-Id: <[hidden email]>
    Cc: [hidden email]
    Fixes: ade9c1aac5292ff698fa550adebe794c37d86cc9
    Signed-off-by: Paolo Bonzini <[hidden email]>
    (cherry picked from commit 0b15209571e5eae706027f42da2ecd175eddc4e3)
    Signed-off-by: Michael Roth <[hidden email]>
---
 memory.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/memory.c b/memory.c
index e26e5a3..226a7e8 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) {
--
generated by git-patchbot for /home/xen/git/qemu-xen.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog