qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 00/10] main-loop: switch to g_poll(3) on POSI


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v4 00/10] main-loop: switch to g_poll(3) on POSIX hosts
Date: Thu, 21 Feb 2013 18:56:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Il 21/02/2013 18:25, Anthony Liguori ha scritto:
>> >
>> > What would be more problematic is the chardev flow control patches,
>> > which use the glib main loop directly.  I don't recall your KVM forum
>> > presentation---did you need RT prioritization of the serial port too?
> It uses GSources which don't need a full glib main loop.  We just need
> to be able to support glib event dispatch from whatever our main loop
> is.

The lock in g_main_context_{prepare,query,check,dispatch} is not
RT-friendly.  We could have contention on that lock between the iothread
and the VCPU thread.

Paolo

> I would assume that we'd treat any glib event with the same priority if
> we ever had a RT-iothread.




reply via email to

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