qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Multiple instances of Qemu on Windows multicore


From: Fabien Chouteau
Subject: [Qemu-devel] Multiple instances of Qemu on Windows multicore
Date: Wed, 02 Nov 2011 16:38:55 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Mnenhy/0.8.4 Thunderbird/3.1.15

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. So
I'm asking to the experts:

 1 - Is this comment still applicable?
 2 - If yes, what is the problem with cpu_interrupt on SMP?
 3 - Why is this different on Linux?

This is a real drawback, especially to run automated tests.

Thanks in advance,

-- 
Fabien Chouteau



reply via email to

[Prev in Thread] Current Thread [Next in Thread]