From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJ6ow-00014t-9u for qemu-devel@nongnu.org; Tue, 23 Jun 2009 10:17:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJ6or-000103-Im for qemu-devel@nongnu.org; Tue, 23 Jun 2009 10:17:57 -0400 Received: from [199.232.76.173] (port=59764 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJ6or-0000zk-DM for qemu-devel@nongnu.org; Tue, 23 Jun 2009 10:17:53 -0400 Received: from e3.ny.us.ibm.com ([32.97.182.143]:42113) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MJ6or-0004Bt-4G for qemu-devel@nongnu.org; Tue, 23 Jun 2009 10:17:53 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e3.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n5NECd2h016253 for ; Tue, 23 Jun 2009 10:12:39 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5NEHnmD211726 for ; Tue, 23 Jun 2009 10:17:49 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n5NEHn25017040 for ; Tue, 23 Jun 2009 10:17:49 -0400 Message-ID: <4A40E40B.8050107@us.ibm.com> Date: Tue, 23 Jun 2009 09:17:47 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1245707244-743-1-git-send-email-andre.przywara@amd.com> <1245760629-9430-1-git-send-email-andre.przywara@amd.com> In-Reply-To: <1245760629-9430-1-git-send-email-andre.przywara@amd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 1/2 v2] allow hypervisor CPUID bit to be overriden List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andre Przywara Cc: avi@redhat.com, kvm@vger.kernel.org, qemu-devel@nongnu.org Andre Przywara wrote: > KVM defaults to the hypervisor CPUID bit to be set, whereas pure > QEMU clears it. On some occasions one wants to set or clear it the > other way round (for instance to get HyperV running inside a guest). > > Move the bit-set to be done before the command line parsing and > enable it by default. One can disable it by using: -cpu qemu64,-hypervisor > Fix some whitespace damage on the way. > > Signed-off-by: Andre Przywara > > Please also resend 2/2. -- Regards, Anthony Liguori