From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH 1/2 v2] allow hypervisor CPUID bit to be overriden Date: Tue, 23 Jun 2009 09:17:47 -0500 Message-ID: <4A40E40B.8050107@us.ibm.com> References: <1245707244-743-1-git-send-email-andre.przywara@amd.com> <1245760629-9430-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: avi@redhat.com, kvm@vger.kernel.org, qemu-devel@nongnu.org To: Andre Przywara Return-path: Received: from e9.ny.us.ibm.com ([32.97.182.139]:35489 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751963AbZFWORx (ORCPT ); Tue, 23 Jun 2009 10:17:53 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e9.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n5NE5QeL020476 for ; Tue, 23 Jun 2009 10:05:26 -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 n5NEHoeZ223018 for ; Tue, 23 Jun 2009 10:17:50 -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 n5NEHn29017040 for ; Tue, 23 Jun 2009 10:17:50 -0400 In-Reply-To: <1245760629-9430-1-git-send-email-andre.przywara@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: 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