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

[Xen-devel] vmcs_revision_id: do we care?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] vmcs_revision_id: do we care?
From: Daniel Li <dli@xxxxxxxxxxxxxxx>
Date: Tue, 08 Jan 2008 17:40:17 -0500
Delivery-date: Tue, 08 Jan 2008 14:40:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (X11/20070530)
Right now when xen finds out a SMP host has processors with different vmcs_revision_id, it considers it a bug.

xen/arch/x86/hvm/vmx/vmcs.c:vmx_init_vmcs_config():

rdmsr(MSR_IA32_VMX_BASIC_MSR, vmx_msr_low, vmx_msr_high);

if ( smp_processor_id() == 0 )
{
   vmcs_revision_id = vmx_msr_low;
}
else
{
   BUG_ON(vmcs_revision_id != vmx_msr_low);
}

Does anyone know why are we doing this? Can we change that check into a warning message?

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

<Prev in Thread] Current Thread [Next in Thread>