From: Kouya Shimura Subject: [PATCH] Fix hvm domain creation failure on ia64 Date: Thu, 14 Feb 2008 14:03:38 +0900 Message-ID: <7kve4suo2d.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Zdr/PavPXj" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ia64-devel-bounces@lists.xensource.com Errors-To: xen-ia64-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Zdr/PavPXj Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit 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 --Zdr/PavPXj Content-Type: text/plain Content-Disposition: inline; filename="direct_boot_ia64.patch" Content-Transfer-Encoding: 7bit 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) { --Zdr/PavPXj Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel --Zdr/PavPXj--