force PAE patch
Keir, I noticed your patch to force PAE on. Things like this are very useful for testing config options that are off by default, but I'd like to see about putting a more generic method for doing this into Xen.
Ryan and I had discussed this recently, and there are at least a few different scenarios I could see being useful.
1. make CONFIG_SOMETHING=y CONFIG_SOMETHING_ELSE=y CONFIG_YET_ANOTHER=n For specifying just a few individual config options.
2. make KCONFIG=/path/to/kernel/configfile
This is useful if you have several different kernel configs that you want to reuse for different test runs. A possible variation of this could be to specify DOM0_KCONFIG and DOMU_KCONFIG.
Speaking for myself at least, this would be great to have and make testing of some of the non-default config options much easier. Would anyone else find this useful?
Signature · 4 lines
Thanks, Paul Larson [email protected] http://www.linuxtestproject.org
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 7 lines · Paul Larson
Keir, I noticed your patch to force PAE on. Things like this are very useful for testing config options that are off by default, but I'd like to see about putting a more generic method for doing this into Xen.
Ryan and I had discussed this recently, and there are at least a few different scenarios I could see being useful.
Quoted 7 lines
1. make
CONFIG_SOMETHING=yCONFIG_SOMETHING_ELSE=yCONFIG_YET_ANOTHER=nFor specifying just a few individual config options.2. make KCONFIG=/path/to/kernel/configfile
This is useful if you have several different kernel configs that you want to reuse for different test runs. A possible variation of this could be to specifyDOM0_KCONFIGandDOMU_KCONFIG.
I have an patch that pushes the extraversion variable up to the top level makefile. This allows me to control which default config file is used to populate the kernel source tree.
make KERNELS="xen0-smp xenU-smp" results in copying
sparse/arch/xen/configs/xen0-smp_defconfig_$(TARGET_ARCH) as .config in the tree.
It also allows me to collapse buildconfigs/mklinux-2.6-{xen,xen0,xenU} into a single file since they only differ by the extraversion field.
Quoted 3 lines
Speaking for myself at least, this would be great to have and make testing of some of the non-default config options much easier. Would anyone else find this useful?
I would like to see at least a way to specify a which config file to be used ala some form of (2). I think option (1) is very useful for testing slightly different configurations or for quick tests when one needs to do some debugging.
Signature · 5 lines
Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 [email protected]
Quoted 8 lines · Ryan Harper
Quoted 3 lines
Speaking for myself at least, this would be great to have and make testing of some of the non-default config options much easier. Would anyone else find this useful?
I would like to see at least a way to specify a which config file to be used ala some form of (2). I think option (1) is very useful for testing slightly different configurations or for quick tests when one needs to do some debugging.
Config.mk encapsulates some of those config options. For others, particularly ones specific to Xen itself, you could put a list in a file (e.g., export debug=y, export optimize=n, and so on) and then:
. <config-file> ; make
-- Keir