On 06/17/2010 08:12 AM, Gibbons, Scott wrote: > Another question I have is how to handle this multithreaded > architecture. This seems to be extraordinarily difficult as a > dynamic translation problem and I'll probably defer it to later. > But, if anyone has any suggestions, I'd be glad to hear them.
How is your threading different from other SMP systems? In system mode, QEMU TCG is single-threaded and models SMP via cooperative switching in between TCG translation blocks. It's not ideal, but it does solve quite a number of problems and is at least functional. r~