From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxjRJ-0005s6-Tk for qemu-devel@nongnu.org; Tue, 13 Oct 2009 11:37:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxjRF-0005p7-Rq for qemu-devel@nongnu.org; Tue, 13 Oct 2009 11:37:29 -0400 Received: from [199.232.76.173] (port=54587 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxjRF-0005p1-JV for qemu-devel@nongnu.org; Tue, 13 Oct 2009 11:37:25 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:49883) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MxjRE-00067o-Sn for qemu-devel@nongnu.org; Tue, 13 Oct 2009 11:37:25 -0400 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e38.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id n9DFX6ad027975 for ; Tue, 13 Oct 2009 09:33:06 -0600 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n9DFbAsR112696 for ; Tue, 13 Oct 2009 09:37:12 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n9DFb0mm004170 for ; Tue, 13 Oct 2009 09:37:01 -0600 Message-ID: <4AD49E9A.2050506@us.ibm.com> Date: Tue, 13 Oct 2009 10:36:58 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH v2 9/9] Add -kvm option References: <1254953315-5761-2-git-send-email-glommer@redhat.com> <1254953315-5761-3-git-send-email-glommer@redhat.com> <1254953315-5761-4-git-send-email-glommer@redhat.com> <1254953315-5761-5-git-send-email-glommer@redhat.com> <1254953315-5761-6-git-send-email-glommer@redhat.com> <1254953315-5761-7-git-send-email-glommer@redhat.com> <1254953315-5761-8-git-send-email-glommer@redhat.com> <1254953315-5761-9-git-send-email-glommer@redhat.com> <1254953315-5761-10-git-send-email-glommer@redhat.com> <4ACD1D92.8080607@us.ibm.com> <20091007231405.GQ8092@mothafucka.localdomain> <4ACD2414.9000401@codemonkey.ws> <4AD319F6.70506@redhat.com> <4AD33774.1030001@us.ibm.com> <4AD34C75.8090803@redhat.com> <4AD359E6.50108@us.ibm.com> <4AD434BB.1080102@redhat.com> In-Reply-To: <4AD434BB.1080102@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Glauber Costa , qemu-devel@nongnu.org Gerd Hoffmann wrote: >> For platform devices, like the interrupt controller/pic, the same >> principle could be applied to switch out a userspace irqchip/pit with >> the kvm kernel implementations. > > Doesn't fly. You can't simply add interrupt controllers via -device. > They are tied way to much with the other core devices. We definitely want a pc machine type and a kvm-pc machine type. The later would change the default cpu to kvm64 and would use the in-kernel apic. If we want to support non in-kernel apic for debugging, I'd suggest that we support it by introducing a third machine type: kvm-pc-debug. When we complete the qdev conversion of pc, different machine types are just config files so it seems like a reasonable thing to do. > cheers, > Gerd -- Regards, Anthony Liguori