[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



commit ab7b4f67344f1371b181d2515408f4ee4a6cd52d
Author:     linzhecheng <linzc@xxxxxxxxxx>
AuthorDate: Sun Jan 14 20:55:19 2018 +0800
Commit:     Michael Roth <mdroth@xxxxxxxxxxxxxxxxxx>
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 <linzc@xxxxxxxxxx>
    Message-Id: <1515934519-16158-1-git-send-email-linzc@xxxxxxxxxx>
    Cc: qemu-stable@xxxxxxxxxx
    Fixes: ade9c1aac5292ff698fa550adebe794c37d86cc9
    Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
    (cherry picked from commit 0b15209571e5eae706027f42da2ecd175eddc4e3)
    Signed-off-by: Michael Roth <mdroth@xxxxxxxxxxxxxxxxxx>
---
 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
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.