Windows Server 2008 checked build complains about lack of consistency between MTRR MSRs in SMP guests.
Problem is the smp_mtrr array is not large enough to hold all MSRs (31 entries with current qemu/kvm implementations).
Increase it to 32.
Signed-off-by: Marcelo Tosatti mtosatti@redhat.com
diff --git a/src/smp.c b/src/smp.c index 40f5451..2317d36 100644 --- a/src/smp.c +++ b/src/smp.c @@ -17,7 +17,7 @@
#define APIC_ENABLED 0x0100
-struct { u32 ecx, eax, edx; } smp_mtrr[16] VAR16VISIBLE; +struct { u32 ecx, eax, edx; } smp_mtrr[32] VAR16VISIBLE; u32 smp_mtrr_count VAR16VISIBLE;
void