WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [PATCH] tweak memory error correction field in the SMBIO

To: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] tweak memory error correction field in the SMBIOS data
From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Date: Thu, 26 Nov 2009 09:21:25 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 25 Nov 2009 17:23:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B0D4ABC.20104@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1259086479-12444-1-git-send-email-pbonzini@xxxxxxxxxx> <E2263E4A5B2284449EEBD0AAB751098418E56E58D1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4B0CF889.7000404@xxxxxxxxxx> <E2263E4A5B2284449EEBD0AAB751098418E5742791@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4B0D4ABC.20104@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acpt4op8oFqlmNerScaGZ63hTizlIQAUfMoA
Thread-topic: [Xen-devel] [PATCH] tweak memory error correction field in the SMBIOS data

Paolo Bonzini wrote:
> On 11/25/2009 04:00 PM, Jiang, Yunhong wrote:
>> So with your patch, even if host has no ECC support, you will still
>> tell guest that the memory has ECC?
> 
> Yes, but I don't think it's of great importance.  I'm just pleasing a
> test with the simplest possible 1-line fix.  Do you know of anything
> that actually cares (i.e. not just "shows it to the user") about that
> particular DMI field, and does something different if it reads "ECC"?

One possible situation is, considering a host without ECC. When the host 
detected 1 bit memory error, it may raises #MCE. If we try to inject this #MCE 
to guest, guest will be confused, since DMI have report ECC support already.

Of course, I don't know if any host system will raise #MCE for such error, so 
it's more about a feeling that present guest with more capability than what 
host can provide is something tricky.

> 
> For that matter, hvmloader is already saying that the host is
> running at
> some number of megahertz, which does not make sense for virtualization
> because the host may be loaded and slow down the guest.

Yes, but timer virtualization (especially the TSC virtualization) has taken a 
lot of effort on this  so that it make sense to guest, although sometime is 
relaxed with different timer mode.

--jyh

> 
> Paolo
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel