aboutsummaryrefslogtreecommitdiff
path: root/nbd
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2017-02-17 10:53:14 +0800
committerJason Wang <jasowang@redhat.com>2017-03-06 11:46:02 +0800
commitb43decb015a6efeb9e3cdbdb80f6547ad7248a4c (patch)
treeb3515a7f4b35822f835c9e98fcd0b367c28ed14e /nbd
parent8487ce45f890cab208541f01e79579d7b25e1615 (diff)
downloadqemu-b43decb015a6efeb9e3cdbdb80f6547ad7248a4c.zip
qemu-b43decb015a6efeb9e3cdbdb80f6547ad7248a4c.tar.gz
qemu-b43decb015a6efeb9e3cdbdb80f6547ad7248a4c.tar.bz2
colo-compare: Fix removing fds been watched incorrectly in finalization
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 <zhang.zhanghailiang@huawei.com> Reviewed-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions