qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Prohibit Windows from running in QEMU


From: Gleb Natapov
Subject: Re: [Qemu-devel] Prohibit Windows from running in QEMU
Date: Tue, 29 Oct 2013 14:20:11 +0200

On Tue, Oct 29, 2013 at 02:17:10PM +0200, Michael S. Tsirkin wrote:
> On Tue, Oct 29, 2013 at 01:26:59PM +0200, 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?
> 
> Or don't crash, disable some other functionality, for example, you can
> keep all network links down until your driver is loaded.
> 
Unless your root is on nfs and driver is in a module :). Anyway if you
need to write guest code there are easier ways to do it than writing new
device/driver. In ideal world you could have used ACPI _OS(?) function,
but since most bioses are broken for anything but Windows Linux reports
that it is Windows too.
 
--
                        Gleb.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]