ia64/xen-unstable

changeset 8957:13e9fdaeed27

When thermal interrupt happened when vmx guest is running,
smp_thermal_interrupt() should be called.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Feb 22 09:54:20 2006 +0100 (2006-02-22)
parents 03bc4062fe5f
children b41e19644271
files xen/arch/x86/hvm/vmx/vmx.c
line diff
     1.1 --- a/xen/arch/x86/hvm/vmx/vmx.c	Wed Feb 22 09:53:54 2006 +0100
     1.2 +++ b/xen/arch/x86/hvm/vmx/vmx.c	Wed Feb 22 09:54:20 2006 +0100
     1.3 @@ -1753,6 +1753,9 @@ static inline void vmx_vmexit_do_extint(
     1.4      fastcall void smp_call_function_interrupt(void);
     1.5      fastcall void smp_spurious_interrupt(struct cpu_user_regs *regs);
     1.6      fastcall void smp_error_interrupt(struct cpu_user_regs *regs);
     1.7 +#ifdef CONFIG_X86_MCE_P4THERMAL
     1.8 +    fastcall void smp_thermal_interrupt(struct cpu_user_regs *regs);
     1.9 +#endif
    1.10  
    1.11      if ((error = __vmread(VM_EXIT_INTR_INFO, &vector))
    1.12          && !(vector & INTR_INFO_VALID_MASK))
    1.13 @@ -1780,6 +1783,11 @@ static inline void vmx_vmexit_do_extint(
    1.14      case ERROR_APIC_VECTOR:
    1.15          smp_error_interrupt(regs);
    1.16          break;
    1.17 +#ifdef CONFIG_X86_MCE_P4THERMAL
    1.18 +    case THERMAL_APIC_VECTOR:
    1.19 +        smp_thermal_interrupt(regs);
    1.20 +        break;
    1.21 +#endif
    1.22      default:
    1.23          regs->entry_vector = vector;
    1.24          do_IRQ(regs);