From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb6PE-0000Kb-Km for qemu-devel@nongnu.org; Tue, 29 Oct 2013 06:20:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb6P8-0003pA-M1 for qemu-devel@nongnu.org; Tue, 29 Oct 2013 06:20:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb6P8-0003oQ-EG for qemu-devel@nongnu.org; Tue, 29 Oct 2013 06:20:06 -0400 Message-ID: <526F8BCA.7090503@redhat.com> Date: Tue, 29 Oct 2013 11:19:54 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <526F8457.5040907@kamp.de> <526F8701.2030906@redhat.com> <526F89B4.5080504@kamp.de> In-Reply-To: <526F89B4.5080504@kamp.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Prohibit Windows from running in QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: "qemu-devel@nongnu.org" Il 29/10/2013 11:11, Peter Lieven ha scritto: > On 29.10.2013 10:59, Paolo Bonzini wrote: >> Il 29/10/2013 10:48, Peter Lieven ha scritto: >>> Hi all, >>> >>> this question might seem a bit weird, but does anyone see a good way to >>> avoid >>> that Windows is able to boot inside qemu? >>> >>> We have defined several profiles for different operation systems and >>> I want >>> to avoid that someone chooses Linux and then installs Windows within >>> a VM. Reason is licensing. >> Patch QEMU to crash when Hyper-V extensions are enabled... > > I was thinking about this, but wouldn't this mean the cpu signature > would always be "Microsoft Hv" > and not "KVMKVMKVM\0\0\0"? The KVM signature should be at CPUID leaf 0x40000100. Paolo