|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [patch 10/16] Kexec: Call xen_machine_kexec_register_re
For kexec on xen xen_machine_kexec_register_resources() needs
to be called at boot time.
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
---
Date: Tue, 25 Sep 2007 11:40:08 +0900
From: Horms <horms@xxxxxxxxxxxx>
Guard by is_initial_xendomain() so as not to break transparent
virtualisation, as suggetsed by Alex Williamson. is_initial_xendomain()
is used instead of is_running_on_xen() as this isn't supposed
to do anything on non-privelaged domains (yet). Also conform that
this code is pretected by CONFIG_KEXEC.
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-09-25
11:21:21.000000000 +0900
+++ linux-2.6.18-xen.hg/arch/ia64/kernel/efi.c 2007-09-25 11:22:44.000000000
+0900
@@ -1128,6 +1128,10 @@ 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
+ if (is_initial_xendomain())
+ xen_machine_kexec_register_resources(res);
+#endif
#endif
}
}
--
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] [patch 07/16] Xenification of IA64 Kexec/kdump, (continued)
- [Xen-ia64-devel] [patch 02/16] Initialise xen_start_info earlier in setup_arch(), Simon Horman
- [Xen-ia64-devel] [patch 05/16] Kexec: Use xen machine_kexec() and machine_shutdown(), Simon Horman
- [Xen-ia64-devel] [patch 14/16] Kdump: Add /proc/iomem_machine, Simon Horman
- [Xen-ia64-devel] [patch 06/16] Kdump: pass control page to hypervisor, Simon Horman
- [Xen-ia64-devel] [patch 15/16] Kexec: Purge the VHPT entry in the TLB on kexec, Simon Horman
- [Xen-ia64-devel] [patch 10/16] Kexec: Call xen_machine_kexec_register_resources,
Simon Horman <=
- [Xen-ia64-devel] [patch 04/16] Kexec: Add xen_limit_pages_to_max_mfn(), Simon Horman
- [Xen-ia64-devel] [patch 09/16] Kexec/Kdump: honour non-zero crashkernel offset, Simon Horman
- [Xen-ia64-devel] [patch 11/16] Update default config to enable kexec, Simon Horman
- [Xen-ia64-devel] [patch 08/16] CONFIG_KEXEC/CONFIG_CRASH_DUMP permutations, Simon Horman
- [Xen-ia64-devel] [patch 1/2] Allow architectures to specify the location of /proc/iomem, Simon Horman
- [Xen-ia64-devel] [patch 03/16] IA64 Kexec/kdump, Simon Horman
|
|
|
|
|