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

[Xen-devel] [Patch] "Helper" for dom0/domU Kernels

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [Patch] "Helper" for dom0/domU Kernels
From: Robert Valentan <R.Valentan@xxxxxxxxxxxxx>
Date: Fri, 27 Apr 2007 17:26:38 +0200
Delivery-date: Fri, 27 Apr 2007 08:25:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
User-agent: Thunderbird 1.5.0.8 (X11/20060911)
This patch add's a XEN_SPLIT_KERNEL to Config.mk and use it
in config/Linux.mk
This patch is also needed for my vnet-patch (some minutes before)
to get the kernel_src dir.

Signed-off-by: Robert Valentan <R.Valentan@xxxxxxxxxxxxx>

-- 
Robert Valentan
diff -r ee16cdeddade Config.mk
--- a/Config.mk Wed Apr 25 09:39:08 2007
+++ b/Config.mk Fri Apr 27 18:01:44 2007
@@ -13,6 +13,9 @@
 endif
 
 CONFIG_$(XEN_OS) := y
+
+# own kernels for dom0 and domU y/n
+XEN_SPLIT_KERNEL := y
 
 SHELL     ?= /bin/sh
 
diff -r ee16cdeddade config/Linux.mk
--- a/config/Linux.mk   Wed Apr 25 09:39:08 2007
+++ b/config/Linux.mk   Fri Apr 27 18:01:44 2007
@@ -1,7 +1,11 @@
 include $(XEN_ROOT)/config/StdGNU.mk
 
 # You may use wildcards, e.g. KERNELS=*2.6*
+ifeq ($(XEN_SPLIT_KERNEL),y)
+KERNELS ?= linux-2.6-xen0 linux-2.6-xenU
+else
 KERNELS ?= linux-2.6-xen
+endif
 
 XKERNELS := $(foreach kernel, $(KERNELS), \
               $(patsubst buildconfigs/mk.%,%, \
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>