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)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Aug 2014 13:12:28 +0000 (15:12 +0200)
commit0d234daf7e0a3290a3a20c8087eefbd6335a5bd4
treeac5623ee51094af0c3a0c07ca8366716351b3c7f
parent9a4cfb27f7233610c5ddc82329c26d39683fad72
Revert "KVM: x86: Increase the number of fixed MTRR regs to 10"

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.

Cc: stable@nongnu.org
Reported-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h