ia64/xen-unstable

changeset 19221:f87d008bd011

BUILD: Add option to build the Xen pvops git tree.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Feb 17 11:11:17 2009 +0000 (2009-02-17)
parents ac3ecce4502d
children 34812acece03
files buildconfigs/enable-xen-config
line diff
     1.1 --- a/buildconfigs/enable-xen-config	Tue Feb 17 11:10:00 2009 +0000
     1.2 +++ b/buildconfigs/enable-xen-config	Tue Feb 17 11:11:17 2009 +0000
     1.3 @@ -19,29 +19,70 @@ setopt()
     1.4  
     1.5  	# Then append the new value
     1.6  	case ${VALUE} in
     1.7 -	    y|m) echo "${OPTION}=${VALUE}" >> "${CONFIG}" ;;
     1.8 -	    n)   echo "# ${OPTION} is not set" >> "${CONFIG}" ;;
     1.9 -	    *)   echo "Invalid value ${VALUE} for ${OPTION}" 1>&2 ; exit 1 ;;
    1.10 +	    n)     echo "# ${OPTION} is not set" >> "${CONFIG}" ;;
    1.11 +	    y|m|*) echo "${OPTION}=${VALUE}" >> "${CONFIG}" ;;
    1.12  	esac
    1.13  }
    1.14  
    1.15  setopt CONFIG_PARAVIRT y
    1.16 +setopt CONFIG_PARAVIRT_DEBUG y
    1.17  setopt CONFIG_PARAVIRT_GUEST y
    1.18 +
    1.19  setopt CONFIG_XEN y
    1.20 +setopt CONFIG_XEN_BLKDEV_FRONTEND y
    1.21 +setopt CONFIG_XEN_NETDEV_FRONTEND y
    1.22 +setopt CONFIG_XEN_KBDDEV_FRONTEND y
    1.23 +setopt CONFIG_XEN_FBDEV_FRONTEND y
    1.24 +setopt CONFIG_XEN_BALLOON y
    1.25 +setopt CONFIG_XEN_SCRUB_PAGES y
    1.26 +setopt CONFIG_XEN_DEV_EVTCHN y
    1.27 +setopt CONFIG_XEN_BACKEND y
    1.28 +setopt CONFIG_XEN_BLKDEV_BACKEND y
    1.29 +setopt CONFIG_XEN_NETDEV_BACKEND y
    1.30 +setopt CONFIG_XENFS y
    1.31 +setopt CONFIG_XEN_COMPAT_XENFS y
    1.32 +setopt CONFIG_HVC_XEN y
    1.33 +setopt CONFIG_XEN_MAX_DOMAIN_MEMORY 32
    1.34 +setopt CONFIG_XEN_DEBUG_FS y
    1.35 +setopt CONFIG_XEN_DOM0 y
    1.36 +
    1.37  setopt CONFIG_VMI y
    1.38 +
    1.39  setopt CONFIG_KVM y
    1.40  setopt CONFIG_KVM_INTEL y
    1.41  setopt CONFIG_KVM_AMD y
    1.42 +setopt CONFIG_KVM_CLOCK y
    1.43 +setopt CONFIG_KVM_GUEST n
    1.44 +setopt CONFIG_KVM_TRACE n
    1.45 +
    1.46  setopt CONFIG_LGUEST n
    1.47 -setopt CONFIG_XEN_BLKDEV_FRONTEND y
    1.48 -setopt CONFIG_XEN_NETDEV_FRONTEND y
    1.49 -setopt CONFIG_HVC_XEN y
    1.50 +
    1.51 +setopt CONFIG_LOCALVERSION_AUTO n
    1.52 +
    1.53 +# Should all be set one way or another in defconfig but aren't
    1.54  setopt CONFIG_NUMA n
    1.55 -setopt CONFIG_LOCALVERSION_AUTO n
    1.56 +setopt CONFIG_X86_VSMP n
    1.57 +setopt CONFIG_X86_UV n
    1.58 +setopt CONFIG_CALGARY_IOMMU n
    1.59 +setopt CONFIG_AMD_IOMMU n
    1.60 +setopt CONFIG_MAXSMP n
    1.61 +setopt CONFIG_SPARSEMEM_VMEMMAP n
    1.62 +setopt CONFIG_I7300_IDLE n
    1.63 +setopt CONFIG_DMAR n
    1.64 +setopt CONFIG_INTR_REMAP n
    1.65 +setopt CONFIG_GFS2_FS n
    1.66 +setopt CONFIG_IOMMU_DEBUG n
    1.67  
    1.68  case ${XEN_TARGET_ARCH} in
    1.69      x86_32) setopt CONFIG_64BIT n ;;
    1.70 -    x86_64) setopt CONFIG_64BIT y ;;
    1.71 +    x86_64)
    1.72 +	setopt CONFIG_64BIT y
    1.73 +	setopt CONFIG_IA32_EMULATION y
    1.74 +	setopt CONFIG_IA32_AOUT n
    1.75 +	setopt CONFIG_CRYPTO_AES_X86_64 n
    1.76 +	setopt CONFIG_CRYPTO_SALSA20_X86_64 n
    1.77 +	setopt CONFIG_CRYPTO_TWOFISH_X86_64 n
    1.78 +	;;
    1.79      *) ;;
    1.80  esac
    1.81