Mailing List Archive

When thermal interrupt happened when vmx guest is running,
# HG changeset patch
# User kaf24@firebug.cl.cam.ac.uk
# Node ID 13e9fdaeed277e8563d261174550130a5f20e88f
# Parent 03bc4062fe5f2046fd1a1d0104ba1762f7e976ee
When thermal interrupt happened when vmx guest is running,
smp_thermal_interrupt() should be called.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>

diff -r 03bc4062fe5f -r 13e9fdaeed27 xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c Wed Feb 22 08:53:54 2006
+++ b/xen/arch/x86/hvm/vmx/vmx.c Wed Feb 22 08:54:20 2006
@@ -1753,6 +1753,9 @@
fastcall void smp_call_function_interrupt(void);
fastcall void smp_spurious_interrupt(struct cpu_user_regs *regs);
fastcall void smp_error_interrupt(struct cpu_user_regs *regs);
+#ifdef CONFIG_X86_MCE_P4THERMAL
+ fastcall void smp_thermal_interrupt(struct cpu_user_regs *regs);
+#endif

if ((error = __vmread(VM_EXIT_INTR_INFO, &vector))
&& !(vector & INTR_INFO_VALID_MASK))
@@ -1780,6 +1783,11 @@
case ERROR_APIC_VECTOR:
smp_error_interrupt(regs);
break;
+#ifdef CONFIG_X86_MCE_P4THERMAL
+ case THERMAL_APIC_VECTOR:
+ smp_thermal_interrupt(regs);
+ break;
+#endif
default:
regs->entry_vector = vector;
do_IRQ(regs);

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