Re: [PATCH 1/2] VMware guest detection for x86 and x86-64
From: Yan Li
Date: Thu Sep 25 2008 - 10:39:34 EST
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
--
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/