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] [xen-unstable] ioemu: Stub out direct-Linux-boot support

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] ioemu: Stub out direct-Linux-boot support for anything other than x86.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Feb 2008 06:00:12 -0800
Delivery-date: Mon, 18 Feb 2008 06:00:43 -0800
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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1202985061 0
# Node ID 80428fb872be14fe121c796c468f4a11cd234ee4
# Parent  866e90d5deb4c47134d63607eb48b9119d940720
ioemu: Stub out direct-Linux-boot support for anything other than x86.
Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
---
 tools/ioemu/hw/pc.c |    9 +++++++++
 1 files changed, 9 insertions(+)

diff -r 866e90d5deb4 -r 80428fb872be tools/ioemu/hw/pc.c
--- a/tools/ioemu/hw/pc.c       Thu Feb 14 09:26:38 2008 +0000
+++ b/tools/ioemu/hw/pc.c       Thu Feb 14 10:31:01 2008 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] ioemu: Stub out direct-Linux-boot support for anything other than x86., Xen patchbot-unstable <=