>> Cheap stuff is done by the main thread (cursor, etc...). The thread >> only do framebuffer updates. > > And both are synchronized with a vnc-private lock only?
Yes > The problem with this model is the non-threaded qemu execution model. > Even if we acquire the global mutex to protect handler updates against > the main select loop, this won't help here. So vnc-threading likely > needs to be made dependent on --enable-io-thread. Plus proper lock_iothread() calls right ? If yes I'll send a patch for that (or you can do it, as you want). Thanks, -- Corentin Chary http://xf.iksaif.net