Skip to content
Commit 329163cb authored by Wang Yong's avatar Wang Yong Committed by Jason Wang
Browse files

qemu-iothread: IOThread supports the GMainContext event loop



IOThread uses AioContext event loop and does not run a GMainContext.
Therefore,chardev cannot work in IOThread,such as the chardev is
used for colo-compare packets reception.

This patch makes the IOThread run the GMainContext event loop,
chardev and IOThread can work together.

Reviewed-by: default avatarFam Zheng <famz@redhat.com>
Signed-off-by: default avatarWang Yong <wang.yong155@zte.com.cn>
Signed-off-by: default avatarWang Guang <wang.guang55@zte.com.cn>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent 61c5f469
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment