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

Yan Li
2008-09-25T14:39:33Z

On Wed, Sep 24, 2008 at 09:54:36PM -0700, H. Peter Anvin wrote:
> We pretty much have to, just as we have to work around bugs in, say,
> AMD's microcode. We have avoided it so far, but it's gotten to a
> breaking point, and rather than having ad hoc hacks scattered all over
> the place I want a centralized test site setting a single global
> variable.

That sounds great but technically this centralized test can only be
done after dmi_scan_machine(), so it can't help the detection code in
mtrr_trim_uncached_memory() which is ran very early before
dmi_scan_machine(). So I think my patch is still necessary unless we
want to live with the warning message in all VMware guest.

--
Li, Yan