Problem with auto-detecting a HV environment from within Linux
haiyangz at microsoft.com
Thu Feb 25 18:37:05 UTC 2010
> From: Greg KH [mailto:greg at kroah.com]
> Sent: Thursday, February 25, 2010 12:36 PM
> What does the following command output in a HV virtual system:
> grep . /sys/bus/acpi/devices/*/modalias
> How about DMI data? Does the Host export any info there? Is there
> anything in the /sys/class/dmi/id/ directory? If so, can you send the
> output of:
> cat /sys/class/dmi/id/modalias
> And you are sure no PCI devices are present to key off of that are
> never going to show up in a "physical" machine?
There is also a pci device as you said:
00:08.0 VGA compatible controller: Microsoft Corporation Device 5353 (prog-if 00 [VGA controller])
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
> What do you recommend doing here?
I think any of the above can be used.
More information about the devel