From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IaAES-0000HT-9t for qemu-devel@nongnu.org; Tue, 25 Sep 2007 09:13:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IaAEQ-0000FO-Jj for qemu-devel@nongnu.org; Tue, 25 Sep 2007 09:13:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaAEQ-0000FD-Cq for qemu-devel@nongnu.org; Tue, 25 Sep 2007 09:13:42 -0400 Received: from il.qumranet.com ([82.166.9.18]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IaAEQ-0004oq-1R for qemu-devel@nongnu.org; Tue, 25 Sep 2007 09:13:42 -0400 Message-ID: <46F90984.1010201@qumranet.com> Date: Tue, 25 Sep 2007 15:13:40 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [kvm-devel] [Qemu-devel] expose host CPU features to guests: Take 3 References: <20070905174530.GA3945@karma.qumranet.com> <1190711970.30193.15.camel@rapid> <46F8D577.3020306@qumranet.com> <200709251351.55481.paul@codesourcery.com> In-Reply-To: <200709251351.55481.paul@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: kvm-devel , "J. Mayer" , qemu-devel@nongnu.org Paul Brook wrote: >> Indeed for regular qemu this is useless. But it is useful for kqemu >> (for which there is support in mainline qemu), and for kvm (which we >> hope to merge one day). >> > > And, as discussed before, it should be asking the hypervisor what features it > supports instead of trying to guess from the cpuid output. > Agreed. -- Any sufficiently difficult bug is indistinguishable from a feature.