From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUkiA-0000Ot-Dl for qemu-devel@nongnu.org; Wed, 04 Feb 2009 11:34:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUki9-0000Ob-OG for qemu-devel@nongnu.org; Wed, 04 Feb 2009 11:34:49 -0500 Received: from [199.232.76.173] (port=46950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUki9-0000OY-Lj for qemu-devel@nongnu.org; Wed, 04 Feb 2009 11:34:49 -0500 Received: from mx2.redhat.com ([66.187.237.31]:56132) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUki9-0001qu-7c for qemu-devel@nongnu.org; Wed, 04 Feb 2009 11:34:49 -0500 From: Amit Shah Date: Wed, 4 Feb 2009 22:04:57 +0530 Message-Id: <1233765300-21850-1-git-send-email-amit.shah@redhat.com> Subject: [Qemu-devel] KVM: completely support cpuid functions 2, 4, b, d Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com Cc: qemu-devel@nongnu.org These patches add support for cpuid functions 2, 4, 0xb, 0xd. cpuid function 2 keeps returning values till we get a 0. The others take a 'count' parameter in addition to the function number. With these patches, KVM can run a VM started with a newer CPU type (coreduo, core2duo). These patches also pave way for a "host" CPU type, where we could pass the CPU type of the current host to the VM. Please apply.