Skip to contentSkip to conversation

: domain-builder: add new arch_hook

PATCH New Dietmar Hahn 1 participant 1 message Feb 26, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : domain-builder: add new arch_hook

Hi,

attached is a small patch to the domain builder therewidth starting of big endian images on xen-ia64 is possible.
Please send comments or apply the patch!
Thanks.

Dietmar.

# HG changeset patch
# User [email protected]
# Date 1172484012 -3600
# Node ID 90738abc851a6967da19ce6b5280a0abd879ea2b # Parent 2c3a13993b0d1c6b374e96c5a365fe615dca2f72 Added new arch_hook for registering ia64 big endian images.

tools/libxc/xc_dom_ia64.c +10 -0
diff -r 2c3a13993b0d -r 90738abc851a tools/libxc/xc_dom_ia64.c
@@ -113,7 +113,17 @@ static struct xc_dom_arch xc_dom_arch = 
     .vcpu = vcpu_ia64,
 };
 
+static struct xc_dom_arch xc_dom_arch_ia64be = {
+    .guest_type = "xen-3.0-ia64be",
+    .page_shift = PAGE_SHIFT_IA64,
+    .alloc_magic_pages = alloc_magic_pages,
+    .start_info = start_info_ia64,
+    .shared_info = shared_info_ia64,
+    .vcpu = vcpu_ia64,
+};
+
 static void __init register_arch_hooks(void)
 {
     xc_dom_register_arch_hooks(&xc_dom_arch);
+    xc_dom_register_arch_hooks(&xc_dom_arch_ia64be);
 }

_______________________________________________
Xen-ia64-devel mailing list
[email protected]
http://lists.xensource.com/xen-ia64-devel