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.