Re: [patch 2/2] QEMU: decrease console "refresh rate" with -nographic

Anthony Liguori
2008-04-15T18:14:13Z

Avi Kivity wrote:
> Anthony Liguori wrote:
>>
>> With the IO thread, we don't have to worry about lost signals like we
>> do in a VCPU thread so it's fine to just use select() and install
>> signal handlers IIUC.
>>
>
> What about aio completions? The only race-free way to handle both
> posix aio completion and fd readiness is signals AFAIK.

We poll aio completion after the select don't we? Worst case scenario
we miss a signal and wait to poll after the next select event. That's
going to occur very often because of the timer.

Regards,

Anthony Liguori