Re: [PATCH] X86: remove WARN_ON if MTRRs are all blank

Ingo Molnar
2008-02-21T11:55:27Z

* Joerg Roedel <joerg.roedel@amd.com> wrote:

> if (!highest_pfn) {
> printk(KERN_WARNING "WARNING: strange, CPU MTRRs all blank?\n");
> - WARN_ON(1);
> return 0;
> }

instead of obscuring a possibly useful warning, please instead detect
that it's a KVM guest and skip both the warning and the backtrace in
that case.

Ingo