qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] memory: set ioeventfd_update_pending after addr


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] memory: set ioeventfd_update_pending after address_space_update_ioeventfds
Date: Mon, 15 Jan 2018 10:46:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 14/01/2018 13:55, linzhecheng wrote:
> We should set ioeventfd_update_pending same as memory_region_update_pending.
> 
> Signed-off-by: linzhecheng <address@hidden>

Thanks.  This indeed fixes a bug introduced by commit
ade9c1aac5292ff698fa550adebe794c37d86cc9.

Paolo

> ---
>  memory.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/memory.c b/memory.c
> index 4b41fb8..0cf39d0 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) {
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]