Re: [PATCH 2/2] Suppress false "mtrr all empty" warning messagewhen running as VMware guest

From: Yan Li
Date: Wed Sep 24 2008 - 22:53:16 EST


On Wed, Sep 24, 2008 at 09:39:20AM -0700, Yinghai Lu wrote:
> On Wed, Sep 24, 2008 at 5:24 AM, Yan Li <elliot.li.tech@xxxxxxxxx> wrote:
> > Since the mtrr empty was detected very early before we can use DMI or
> > PCI to check whether we are running as a VMware guest or not, we now
> > only print an info there. Warning will only be issued later when we
> > are sure that we are not running as a VMware guest.
> >
> > mtrr_trim_uncached_memory() is modified to return meaningful codes for
> > later warning decision.
>
> we have moved dmi_scan_machine() much early...
>
> so please check with latest tip/master to use
> dmi_check_system with that.

OK! Thanks, I'll try.

> BTW:
> those warning should be good, because VMware is the root cause.

Sorry, do you mean we also need a warning for this in VMware?

--
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/