On 04/09/14 15:29, Jan Beulich wrote:
On 04/09/14 13:38, Juergen Gross wrote:On 04.09.14 at 14:52, <david.vrabel@xxxxxxxxxx> wrote:
--- a/arch/x86/xen/xen-head.S
+++ b/arch/x86/xen/xen-head.S
@@ -124,6 +124,9 @@ NEXT_HYPERCALL(arch_6)
ELFNOTE(Xen, XEN_ELFNOTE_L1_MFN_VALID,
.quad _PAGE_PRESENT; .quad _PAGE_PRESENT)
ELFNOTE(Xen, XEN_ELFNOTE_SUSPEND_CANCEL, .long 1)
+#ifdef CONFIG_X86_64
+ ELFNOTE(Xen, XEN_ELFNOTE_MOD_START_PFN, .long 1)
+#endif
Why X86_64 only? If there's a good reason the commit message needs to
explain why.
Does native 32-bit support huge initrd?
Does that matter? If the MOD_START_PFN options works with a 32-bit guest
then it should use it, regardless of whether it is essential or not.
Because this reduces the #ifdef'ery.