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

[Xen-users] How to prepare kernel configuration file?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How to prepare kernel configuration file?
From: Rainer Schöpf <rainer.schoepf@xxxxxxxxxxxxx>
Date: Mon, 6 Jun 2005 00:33:49 +0200 (CEST)
Cc: Rainer Schöpf <rainer.schoepf@xxxxxxxxxxxxx>
Delivery-date: Sun, 05 Jun 2005 22:33:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I've been trying to pre-create a kernel configuration for domain0. This is
not difficult as such, but I encountered a few surprises on the way. I'm
wondering whether there is an easier way.

Basically, I have a standard x86 kernel configuration that I want to use
as basis for xen0. I replace the first few lines

CONFIG_X86=y
CONFIG_MMU=y
...

by the corresponding xen config lines, ie. by

CONFIG_XEN=y
etc

So far so good, but where do I put this file if I don't want to
overwrite the default config in

 linux-2.6.11-xen-sparse/arch/xen/configs/xen0_defconfig

?

I tried to directly modify the .config file in the linux-2.6.11-xen0
kernel tree with "make xconfig". This complains about the CONFIG_XEN...
parameters and removes them.

As a bonus, "make world" happily removed the the kernel tree, including my
new .config file, and recreated the default config.

I ended up by doing

  make xen
  make tools

copying my .config to

  dist/install/boot/config-2.6.11.11-xen0

and running "make kernels".

As I said above, not a big problem, but a bit annoying.


   Rainer Schöpf

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

<Prev in Thread] Current Thread [Next in Thread>