[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [LINUX] Only initialise kexec in domain0.



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Node ID c7e33053f59b6cc852c08539c2be907feb5fa68c
# Parent  582d21e2d3cd12a13ad4debee9af8bb0f1be413a
[LINUX] Only initialise kexec in domain0.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r 582d21e2d3cd -r c7e33053f59b 
linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c     Thu Nov 30 
17:47:50 2006 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c     Thu Nov 30 
17:53:59 2006 +0000
@@ -21,6 +21,9 @@ void xen_machine_kexec_setup_resources(v
        xen_kexec_range_t range;
        struct resource *res;
        int k = 0;
+
+       if (!is_initial_xendomain())
+               return;
 
        /* determine maximum number of physical cpus */
 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.