On 11/02/2011 04:38 PM, Fabien Chouteau wrote:
Hello fellow Qemu aficionados,
On Windows, Qemu sets the affinity mask in order to run all thread on
CPU0, with this comment in the code (os-win32.c:182):
/* Note: cpu_interrupt() is currently not SMP safe, so we force
QEMU to run on a single CPU */
This was added by Fabrice Bellard in 2006 (git show a8e5ac33d).
I can't find/understand any reason for this CPU affinity restriction.
Have you tried looking for a justification in the mailing lists? Also,
I suppose you have tested without the affinity mask and it works?
Offhand I cannot think of why that would be needed.
Paolo