From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v2] qemu-kvm: preserve the hypervisor bit while KVM trims the CPUID bits Date: Tue, 07 Jul 2009 14:38:55 +0300 Message-ID: <4A5333CF.5050101@redhat.com> References: <1246541255-15103-1-git-send-email-andre.przywara@amd.com> <1246545943-17511-1-git-send-email-andre.przywara@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Andre Przywara Return-path: Received: from mx2.redhat.com ([66.187.237.31]:40114 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754964AbZGGLg3 (ORCPT ); Tue, 7 Jul 2009 07:36:29 -0400 In-Reply-To: <1246545943-17511-1-git-send-email-andre.przywara@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: On 07/02/2009 05:45 PM, Andre Przywara wrote: > The KVM kernel will disable all bits in CPUID which are not present in > the host. As this is mostly true for the hypervisor bit (1.ecx), > preserve its value before the trim and restore it afterwards. > This is similar to commit 6c0d7ee8, but since qemu-kvm uses another code > path it has to be inserted in qemu-kvm-x86.c, too. > Applied, thanks. -- error compiling committee.c: too many arguments to function