From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWNv9-0001CL-L4 for qemu-devel@nongnu.org; Fri, 02 Dec 2011 02:52:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWNv8-0006rA-Mk for qemu-devel@nongnu.org; Fri, 02 Dec 2011 02:52:35 -0500 Received: from mail-bw0-f45.google.com ([209.85.214.45]:40275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWNv8-0006r5-FR for qemu-devel@nongnu.org; Fri, 02 Dec 2011 02:52:34 -0500 Received: by bkaq10 with SMTP id q10so664830bka.4 for ; Thu, 01 Dec 2011 23:52:33 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4ED883BF.4010706@redhat.com> Date: Fri, 02 Dec 2011 08:52:31 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1322765012-3164-1-git-send-email-aliguori@us.ibm.com> <1322765012-3164-3-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1322765012-3164-3-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2 2/6] qtest: add support for target-i386 -M pc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org On 12/01/2011 07:43 PM, Anthony Liguori wrote: > This involves forcing the CPU into the halted state if qtest is enabled and > replacing the local APIC with the qtest interrupt controller. > > It should be pretty straight forward to do the same for other machine types on > other architectures. > > Signed-off-by: Anthony Liguori Can you do this in some per-accelerator function? Is it different from just not creating the CPU threads? (Also, whatever you do here generally you could do for Xen, too). Paolo