[haiku] Re: REQ: for inclusion of vmw_tools and the input_filter...

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Thu, 08 Oct 2009 16:24:10 +0200 CEST

> > mmrl
> 
> mmlr, but yes.
> 
> > I would like to have this included with nightly builds.
> 
> That can't just be added. To detect whether or not it actually runs 
> in 
> a VM it queries some io ports. While this would actually work to 
> determine it isn't running in a VM, it cannot actually do that, since 
> it's runnning in userland. The query on that port on non-VMWare hosts 
> runs into a general protection fault and will crash the input_server. 
> Therefore it can't just be installed by default (it would need a 
> kernel 
> side driver to do that detection for it).

I haven't look at it but likely it's visible in the PCI space or maybe 
in the ACPI/DMI/whatever table...

QEMU started to have some private IO space too to pass parameters to 
the BIOS, and also supports some vmware fake devices (video card for 
now, but stuck to 24bpp).

François.

Other related posts: