Skip to content
  • Luis R. Rodriguez's avatar
    kconfig: add xenconfig defconfig helper · 6c668505
    Luis R. Rodriguez authored
    This lets you build a kernel which can support xen dom0
    or xen guests on i386, x86-64 and arm64 by just using:
    
       make xenconfig
    
    You can start from an allnoconfig and then switch to xenconfig.
    This also splits out the options which are available currently
    to be built with x86 and 'make ARCH=arm64' under a shared config.
    
    Technically xen supports a dom0 kernel and also a guest
    kernel configuration but upon review with the xen team
    since we don't have many dom0 options its best to just
    combine these two into one.
    
    A few generic notes: we enable both of these:
    
    CONFIG_INET=y
    CONFIG_BINFMT_ELF=y
    
    although technically not required given you likely will
    end up with a pretty useless system otherwise.
    
    A few architectural differences worth noting:
    
    $ make allnoconfig; make xenconfig > /dev/null ; \
    	grep XEN .config > 64-bit-config
    $ make ARCH=i386 allnoconfig; make ARCH=i386 xenconfig > /dev/null; \
    	grep XEN .config > 32-bit-config
    $ make ARCH=arm64 allnoconfig; make AR...
    6c668505