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

Re: [Xen-devel] [PATCH] Fix hvm domain creation failure on ia64

To: Kouya Shimura <kouya@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix hvm domain creation failure on ia64
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 14 Feb 2008 08:30:26 +0000
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Feb 2008 00:30:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <7kve4suo2d.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Achu49koF7c/zNrXEdy7NQAWy6hiGQ==
Thread-topic: [Xen-devel] [PATCH] Fix hvm domain creation failure on ia64
User-agent: Microsoft-Entourage/11.3.6.070618
Some observations: 
 1. If calling that function causes dom0 hangup, perhaps you have a serious
underlying issue that you need to address?
 2. Why were you ending up in that function in the first place? Is xend
misdirecting you to execute the wrong path through qemu-dm?

 -- Keir

On 14/2/08 05:03, "Kouya Shimura" <kouya@xxxxxxxxxxxxxx> wrote:

> In cset 16961, 16962, 16963, Direct Linux boot is supported.
> But it doesn't work on ia64. Moreover, it causes dom0 hangup.
> 
> Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
> 
> diff -r 0164d924ceba tools/ioemu/hw/pc.c
> --- a/tools/ioemu/hw/pc.c Wed Feb 13 10:43:13 2008 +0000
> +++ b/tools/ioemu/hw/pc.c Thu Feb 14 13:52:16 2008 +0900
> @@ -361,6 +361,7 @@ void bochs_bios_init(void)
>      register_ioport_write(0x503, 1, 1, bochs_bios_write, NULL);
>  }
>  
> +#if defined(__i386__) || defined(__x86_64__)
>  /* Generate an initial boot sector which sets state and jump to
>     a specified vector */
>  static void generate_bootsect(uint32_t gpr[8], uint16_t segs[6], uint16_t ip)
> @@ -718,6 +719,14 @@ static void load_linux(const char *kerne
>  
>      generate_bootsect(gpr, seg, 0);
>  }
> +#else /* __ia64__ */
> +static void load_linux(const char *kernel_filename,
> +                       const char *initrd_filename,
> +                       const char *kernel_cmdline)
> +{
> +    /* Direct Linux boot is unsupported. */
> +}
> +#endif
>  
>  static void main_cpu_reset(void *opaque)
>  {
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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