WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [patch 07/16] Kexec: Call xen_machine_kexec_registe

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [patch 07/16] Kexec: Call xen_machine_kexec_register_resources
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Wed, 12 Sep 2007 15:38:59 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 12 Sep 2007 14:40:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070912083045.075887721@xxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: OSLO R&D
References: <20070912082834.175658477@xxxxxxxxxxxx> <20070912083045.075887721@xxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2007-09-12 at 17:28 +0900, Simon Horman wrote:
> plain text document attachment
> (ia64-kexec-efi_initialize_iomem_resources.patch)
> For kexec on xen xen_machine_kexec_register_resources() needs
> to be called at boot time.

> Index: linux-2.6.18-xen.hg/arch/ia64/kernel/efi.c
> ===================================================================
> --- linux-2.6.18-xen.hg.orig/arch/ia64/kernel/efi.c   2007-07-10 
> 10:57:17.000000000 +0900
> +++ linux-2.6.18-xen.hg/arch/ia64/kernel/efi.c        2007-07-10 
> 11:11:09.000000000 +0900
> @@ -1128,6 +1128,9 @@ efi_initialize_iomem_resources(struct re
>                          insert_resource(res, &boot_param_res);
>                       if (crashk_res.end > crashk_res.start)
>                               insert_resource(res, &crashk_res);
> +#ifdef CONFIG_XEN
> +                     xen_machine_kexec_register_resources(res);
> +#endif
>  #endif

  Won't this break transparent paravirt?  Might need a CONFIG_KEXEC too.
Is kexec supposed to do anything on non-dom0 domains?  If not, wrap it
in an 'if (is_initial_xendomain())', otherwise use is_running_on_xen().
Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


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