diff options
author | linzhecheng <linzc@zju.edu.cn> | 2018-01-14 20:55:19 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-05 13:54:38 +0100 |
commit | 0b15209571e5eae706027f42da2ecd175eddc4e3 (patch) | |
tree | 0eee7aff21fa85701b0bdbe2fab8db8db98e2d66 /memory.c | |
parent | e85687ffe2233e35864cb1c307183df29c05f622 (diff) | |
download | qemu-0b15209571e5eae706027f42da2ecd175eddc4e3.zip qemu-0b15209571e5eae706027f42da2ecd175eddc4e3.tar.gz qemu-0b15209571e5eae706027f42da2ecd175eddc4e3.tar.bz2 |
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@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>
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |