Re: [PATCH 1/2] VMware detection support for x86 and x86-64

From: Yan Li
Date: Tue Sep 09 2008 - 08:49:07 EST


On Mon, Sep 08, 2008 at 05:34:07PM -0700, H. Peter Anvin wrote:
>> VMware may change the PCI ID at their will so I prefer checking the
>> DMI since it's easier.
>>
>> So if we ditched the official method we run the risk of some false
>> negatives. But checking the DMI manufacturer would be good enough.
>>
>
> If we get false negatives that is quite frankly their problem, not ours.
> If nothing else, we should be able to look for a host bridge with the
> VMWare vendor ID -- that should arguably be safer than DMI.

Yeah, VMware's PCI vendor Id: 0x15AD

Why using PCI vendor ID is safer than DMI?

--
Li, Yan

"Everything that is really great and inspiring is created by the
individual who can labor in freedom."
- Albert Einstein, in Out of My Later Years (1950)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/