public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problem with auto-detecting a HV environment from within Linux
@ 2010-02-25 16:44 Greg KH
  2010-02-25 17:30 ` Haiyang Zhang
  0 siblings, 1 reply; 14+ messages in thread
From: Greg KH @ 2010-02-25 16:44 UTC (permalink / raw)
  To: Hank Janssen, Haiyang Zhang; +Cc: devel, linux-kernel

Hi guys,

In looking at the HV code, there doesn't seem to be a way to
automatically detect if we are running in a HV environment in order to
know to load the drivers in the first place.

Normally, we trigger off of things like PCI ids, or some other
externally visible id to know if we can properly load the drivers.

This also is a problem for distros, as they need to know to include the
drivers or not, through their device update processes (i.e. rpm and
install tools can detect pci dependancies of a machine to know to set
things properly.)

So, is there a way to "know" ahead of time if we are in a HV guest
environment?  I was told that there is a Microsoft VGA adapter that is
exposed to the guest, could we trigger off of this device?  Or is there
some other unique PCI id that we could use?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-02-26 19:17 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25 16:44 Problem with auto-detecting a HV environment from within Linux Greg KH
2010-02-25 17:30 ` Haiyang Zhang
2010-02-25 17:36   ` Greg KH
2010-02-25 18:37     ` Haiyang Zhang
2010-02-25 23:06       ` Greg KH
2010-02-25 23:40         ` Haiyang Zhang
2010-02-26  0:21           ` Greg KH
2010-02-26  0:46           ` Greg KH
2010-02-26  2:14             ` Hank Janssen
2010-02-26  2:57               ` Greg KH
2010-02-26 19:07                 ` Haiyang Zhang
2010-02-26 19:16                   ` Greg KH
2010-02-26  9:47             ` Ameya Palande
2010-02-26 14:54               ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox