Revert "KVM: x86: Increase the number of fixed MTRR regs to 10"
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Aug 2014 14:39:48 +0000 (16:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Sep 2014 23:34:15 +0000 (16:34 -0700)
commit98a634d07e5d01ca089e08916477b43805e13c41
tree87b394d33e32f16ad2d2c50cca39bb1d4bc9086c
parentdfc7aa43fd0d6f706a4286dd96db676a7309961e
Revert "KVM: x86: Increase the number of fixed MTRR regs to 10"

commit 0d234daf7e0a3290a3a20c8087eefbd6335a5bd4 upstream.

This reverts commit 682367c494869008eb89ef733f196e99415ae862,
which causes 32-bit SMP Windows 7 guests to panic.

SeaBIOS has a limit on the number of MTRRs that it can handle,
and this patch exceeded the limit.  Better revert it.
Thanks to Nadav Amit for debugging the cause.

Reported-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/kvm_host.h