ia64/xen-unstable

changeset 14945:bdde5daf056e

hvm vmx: Another small fix for CPUs with no TPR_SHADOW support.
Signed-off-by: Keir Fraser <keir@xensource.com>
author Keir Fraser <keir@xensource.com>
date Wed Apr 25 22:29:39 2007 +0100 (2007-04-25)
parents 55d0a5c70986
children c7b1a866914c
files xen/arch/x86/hvm/vmx/intr.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/intr.c	Wed Apr 25 22:22:31 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/vmx/intr.c	Wed Apr 25 22:29:39 2007 +0100
     1.3 @@ -72,6 +72,9 @@ static void update_tpr_threshold(struct 
     1.4  {
     1.5      int max_irr, tpr;
     1.6  
     1.7 +    if ( !cpu_has_vmx_tpr_shadow )
     1.8 +        return;
     1.9 +
    1.10      if ( !vlapic_enabled(vlapic) || 
    1.11           ((max_irr = vlapic_find_highest_irr(vlapic)) == -1) )
    1.12      {