From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb7ZP-0004FC-6m for qemu-devel@nongnu.org; Tue, 29 Oct 2013 07:34:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb7ZJ-0001PR-7g for qemu-devel@nongnu.org; Tue, 29 Oct 2013 07:34:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb7ZI-0001PK-VU for qemu-devel@nongnu.org; Tue, 29 Oct 2013 07:34:41 -0400 Date: Tue, 29 Oct 2013 13:34:34 +0200 From: Gleb Natapov Message-ID: <20131029113434.GA16561@redhat.com> References: <526F8457.5040907@kamp.de> <20131029111324.GA18289@redhat.com> <20131029112659.GB15657@redhat.com> <526F9C86.8060200@kamp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <526F9C86.8060200@kamp.de> 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" , "Michael S. Tsirkin" On Tue, Oct 29, 2013 at 12:31:18PM +0100, Peter Lieven wrote: > On 29.10.2013 12:26, Gleb Natapov wrote: > >On Tue, Oct 29, 2013 at 01:13:24PM +0200, Michael S. Tsirkin wrote: > >>On Tue, Oct 29, 2013 at 10:48:07AM +0100, Peter Lieven wrote: > >>>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. > >>> > >>>Thanks, > >>>Peter > >>- create a device > >>- write a linux driver > >>- if driver is not enabled crash guest > >> > >For how long to wait before a crash? > I would not like to alter the software in the guest anyway. If this would be required > I could force a Linux version that would search for the alternate KVM signature > in the cpuid leaf. > You can detect certain patterns of RTC usage (Linux does not use it usually), but it is fragile since Linux allows userspace to access RTC and it may create the same usage pattern. -- Gleb.