qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 4/4] colo-compare: Fix removing fds been watc


From: Zhang Chen
Subject: Re: [Qemu-devel] [PATCH v3 4/4] colo-compare: Fix removing fds been watched incorrectly in finalization
Date: Fri, 17 Feb 2017 11:50:28 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1



On 02/17/2017 10:53 AM, zhanghailiang wrote:
We will catch the bellow error report while try to delete compare object
by qmp command:
chardev/char-io.c:91: io_watch_poll_finalize: Assertion `iwp->src == ((void 
*)0)' failed.

This is caused by failing to remove the right fd been watched while
call qemu_chr_fe_set_handlers();

Fix it by pass the worker_context parameter to qemu_chr_fe_set_handlers().

Signed-off-by: zhanghailiang<address@hidden>

Reviewed-by: Zhang Chen <address@hidden>

---
  net/colo-compare.c | 20 +++++++++++---------
  1 file changed, 11 insertions(+), 9 deletions(-)

--
Thanks
Zhang Chen






reply via email to

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