|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] vmx_init_env must be called on eve
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1205528532 21600
# Node ID 82fa2e6cb592b0d8be6251ea8849250b3f960b2d
# Parent d2a3b823b7aab1355c7ac86ebd9c8151e11edee7
[IA64] vmx_init_env must be called on every processor
Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
xen/arch/ia64/linux-xen/smpboot.c | 4 ++++
xen/arch/ia64/vmx/vmx_init.c | 2 ++
2 files changed, 6 insertions(+)
diff -r d2a3b823b7aa -r 82fa2e6cb592 xen/arch/ia64/linux-xen/smpboot.c
--- a/xen/arch/ia64/linux-xen/smpboot.c Fri Mar 14 15:00:27 2008 -0600
+++ b/xen/arch/ia64/linux-xen/smpboot.c Fri Mar 14 15:02:12 2008 -0600
@@ -64,6 +64,7 @@
#ifdef XEN
#include <xen/domain.h>
#include <asm/hw_irq.h>
+#include <asm/vmx.h>
#ifndef CONFIG_SMP
cpumask_t cpu_online_map = CPU_MASK_CPU0;
EXPORT_SYMBOL(cpu_online_map);
@@ -442,6 +443,9 @@ start_secondary (void *unused)
smp_callin();
#ifdef XEN
+ if (vmx_enabled)
+ vmx_init_env(0, 0);
+
startup_cpu_idle_loop();
#else
cpu_idle();
diff -r d2a3b823b7aa -r 82fa2e6cb592 xen/arch/ia64/vmx/vmx_init.c
--- a/xen/arch/ia64/vmx/vmx_init.c Fri Mar 14 15:00:27 2008 -0600
+++ b/xen/arch/ia64/vmx/vmx_init.c Fri Mar 14 15:02:12 2008 -0600
@@ -105,6 +105,8 @@ no_vti:
}
/*
+ * ** This function must be called on every processor **
+ *
* Init virtual environment on current LP
* vsa_base is the indicator whether it's first LP to be initialized
* for current domain.
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [IA64] vmx_init_env must be called on every processor,
Xen patchbot-unstable <=
|
|
|
|
|