On Mon, 12/12 15:22, Liviu Ionescu wrote: > so, back to square one; any suggestion on how to avoid the periodic timer > required to poll SDL system events?
Good question, I've missed that! Sadly I don't find it possible. The main thread of QEMU has to run the glib event loop so it cannot block on SDL_WaitEvent(). Ideally SDL should provide an API to get a pollable fd (or a set of) to allow such types of integration, not much can be done from QEMU side in its current form. Fam