[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] hvmloader: Advertise ECC memory in SMBIOS tables.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1259157886 0
# Node ID 12644e457c3747f6174fe97e25ce6764c2cf0fd1
# Parent  d44371e6e5d631f58d9a2ce829f12dafd1272f68
hvmloader: Advertise ECC memory in SMBIOS tables.

Microsoft's Windows logo certified hardware requires ECC; since the
SVVP certification runs the same test on the guest, Xen domains will
currently fail it.

From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/firmware/hvmloader/smbios.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r d44371e6e5d6 -r 12644e457c37 tools/firmware/hvmloader/smbios.c
--- a/tools/firmware/hvmloader/smbios.c Tue Nov 24 14:43:07 2009 +0000
+++ b/tools/firmware/hvmloader/smbios.c Wed Nov 25 14:04:46 2009 +0000
@@ -455,7 +455,7 @@ smbios_type_16_init(void *start, uint32_
     
     p->location = 0x01; /* other */
     p->use = 0x03; /* system memory */
-    p->error_correction = 0x01; /* other */
+    p->error_correction = 0x06; /* Multi-bit ECC to make Microsoft happy */
     p->maximum_capacity = memsize * 1024;
     p->memory_error_information_handle = 0xfffe; /* none provided */
     p->number_of_memory_devices = nr_mem_devs;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.