All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tweak memory error correction field in the SMBIOS data
@ 2009-11-24 18:14 Paolo Bonzini
  2009-11-25  3:06 ` Jiang, Yunhong
  2009-11-25 10:27 ` Andi Kleen
  0 siblings, 2 replies; 9+ messages in thread
From: Paolo Bonzini @ 2009-11-24 18:14 UTC (permalink / raw)
  To: xen-devel

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

This patch fixes it.
---
 tools/firmware/hvmloader/smbios.c |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/tools/firmware/hvmloader/smbios.c b/tools/firmware/hvmloader/smbios.c
--- a/tools/firmware/hvmloader/smbios.c
+++ b/tools/firmware/hvmloader/smbios.c
@@ -455,7 +455,7 @@
     
     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;

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-11-27  1:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 18:14 [PATCH] tweak memory error correction field in the SMBIOS data Paolo Bonzini
2009-11-25  3:06 ` Jiang, Yunhong
2009-11-25  9:27   ` Paolo Bonzini
2009-11-25 15:00     ` Jiang, Yunhong
2009-11-25 15:18       ` Paolo Bonzini
2009-11-26  1:21         ` Jiang, Yunhong
2009-11-26 12:45           ` Paolo Bonzini
2009-11-27  1:50             ` Jiang, Yunhong
2009-11-25 10:27 ` Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.