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-changelog

[Xen-changelog] [IA64] message of elf_sanity_check as x86

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [IA64] message of elf_sanity_check as x86
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Apr 2006 10:32:52 +0000
Delivery-date: Thu, 27 Apr 2006 03:42:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 3575cd80ba8c62765aab66beee0b5ee6b6f36119
# Parent  de0c04ed4ab7b9c4572c42df2de838e2b243a8e2
[IA64] message of elf_sanity_check as x86

This small patch output message of elf_sanity_check as x86.
Currently this panic is the only following message.

        (XEN) *** LOADING DOMAIN 0 ***
        (XEN) 
        (XEN) ****************************************
        (XEN) Panic on CPU 0:
        (XEN) Could not set up DOM0 guest OS
        (XEN) ****************************************
        (XEN) 
        (XEN) Reboot in five seconds...
        (XEN) machine_restart called: spinning....

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

diff -r de0c04ed4ab7 -r 3575cd80ba8c xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Fri Apr 21 10:40:17 2006 -0600
+++ b/xen/arch/ia64/xen/domain.c        Tue Apr 25 10:49:33 2006 -0700
@@ -751,7 +751,12 @@ unsigned long domain_mpa_to_imva(struct 
 // see arch/x86/xxx/domain_build.c
 int elf_sanity_check(Elf_Ehdr *ehdr)
 {
-       return (IS_ELF(*ehdr));
+       if (!(IS_ELF(*ehdr)))
+       {
+               printk("DOM0 image is not a Xen-compatible Elf image.\n");
+               return 0;
+       }
+       return 1;
 }
 
 static void copy_memory(void *dst, void *src, int size)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [IA64] message of elf_sanity_check as x86, Xen patchbot -unstable <=