[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv5 01/03] qemu-iothread: IOThread supports theGM
From: |
wang.yong155 |
Subject: |
Re: [Qemu-devel] [PATCHv5 01/03] qemu-iothread: IOThread supports theGMainContext event loop |
Date: |
Tue, 5 Sep 2017 09:07:28 +0800 (CST) |
>> 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.
>>
>> Signed-off-by: Wang Yong <address@hidden>
>> Signed-off-by: Wang Guang <address@hidden>
>> ---
>> include/sysemu/iothread.h | 4 ++++
>> iothread.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
>> 2 files changed, 49 insertions(+)
>
>Reviewed-by: Stefan Hajnoczi <address@hidden>
Thanks.
Hi all,
A few days without news, ping...
WangYong
原始邮件
发件人: <address@hidden>
收件人:王勇10170530
抄送人: <address@hidden> <address@hidden> <address@hidden> <address@hidden>
<address@hidden>王广10165992 <address@hidden> <address@hidden>
日 期 :2017年08月31日 19:55
主 题 :Re: [PATCHv5 01/03] qemu-iothread: IOThread supports theGMainContext event
loop
On Tue, Aug 29, 2017 at 03:22:37PM +0800, Wang yong wrote:
> From: Wang Yong <address@hidden>
>
> 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.
>
> Signed-off-by: Wang Yong <address@hidden>
> Signed-off-by: Wang Guang <address@hidden>
> ---
> include/sysemu/iothread.h | 4 ++++
> iothread.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 49 insertions(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>
- Re: [Qemu-devel] [PATCHv5 01/03] qemu-iothread: IOThread supports theGMainContext event loop,
wang.yong155 <=