debuggers.hg

view buildconfigs/enable-xen-config @ 22848:6341fe0f4e5a

Added tag 4.1.0-rc2 for changeset 9dca60d88c63
author Keir Fraser <keir@xen.org>
date Tue Jan 25 14:06:55 2011 +0000 (2011-01-25)
parents 143eb656084b
children
line source
1 #!/bin/sh
3 set -e
5 if [ $# -ne 1 ] ; then
6 echo "Usage $(basename $0) <config-file>" 1>&2
7 exit 1
8 fi
10 CONFIG=$1
12 setopt()
13 {
14 OPTION=$1
15 VALUE=$2
17 # First remove any existing instances of this option
18 sed -e "s/^# ${OPTION} is not set$//g ; s/^${OPTION}=.*$//g" -i "${CONFIG}"
20 # Then append the new value
21 case ${VALUE} in
22 n) echo "# ${OPTION} is not set" >> "${CONFIG}" ;;
23 y|m|*) echo "${OPTION}=${VALUE}" >> "${CONFIG}" ;;
24 esac
25 }
27 setopt CONFIG_PARAVIRT y
28 setopt CONFIG_PARAVIRT_DEBUG y
29 setopt CONFIG_PARAVIRT_GUEST y
30 setopt CONFIG_PARAVIRT_SPINLOCKS y
32 setopt CONFIG_XEN y
33 setopt CONFIG_XEN_BLKDEV_FRONTEND y
34 setopt CONFIG_XEN_NETDEV_FRONTEND y
35 setopt CONFIG_XEN_KBDDEV_FRONTEND y
36 setopt CONFIG_XEN_FBDEV_FRONTEND y
37 setopt CONFIG_XEN_PCIDEV_FRONTEND y
38 setopt CONFIG_XEN_BALLOON y
39 setopt CONFIG_XEN_SCRUB_PAGES y
40 setopt CONFIG_XEN_DEV_EVTCHN y
41 setopt CONFIG_XEN_BACKEND y
42 setopt CONFIG_XEN_BLKDEV_BACKEND y
43 setopt CONFIG_XEN_BLKDEV_TAP y
44 setopt CONFIG_XEN_NETDEV_BACKEND y
45 setopt CONFIG_XEN_PCIDEV_BACKEND y
46 setopt CONFIG_XEN_PCIDEV_BACKEND_VPCI y
47 setopt CONFIG_XEN_PCIDEV_BACKEND_PASS n
48 setopt CONFIG_XEN_PCIDEV_BACKEND_SLOT n
49 setopt CONFIG_XEN_PCIDEV_BE_DEBUG n
50 setopt CONFIG_XENFS y
51 setopt CONFIG_XEN_COMPAT_XENFS y
52 setopt CONFIG_XEN_PCI_PASSTHROUGH y
53 setopt CONFIG_HVC_XEN y
54 setopt CONFIG_XEN_MAX_DOMAIN_MEMORY 32
55 setopt CONFIG_XEN_DEBUG_FS y
56 setopt CONFIG_XEN_DOM0 y
57 setopt CONFIG_XEN_SYS_HYPERVISOR y
58 setopt CONFIG_XEN_GNTDEV y
59 setopt CONFIG_XEN_PLATFORM_PCI y
61 setopt CONFIG_VMI y
62 setopt CONFIG_TUN y
64 setopt CONFIG_KVM y
65 setopt CONFIG_KVM_INTEL y
66 setopt CONFIG_KVM_AMD y
67 setopt CONFIG_KVM_CLOCK y
68 setopt CONFIG_KVM_GUEST n
69 setopt CONFIG_KVM_TRACE n
71 setopt CONFIG_LGUEST n
73 setopt CONFIG_LOCALVERSION_AUTO n
75 setopt CONFIG_BRIDGE y
77 setopt CONFIG_DEBUG_STACK_USAGE n
79 setopt CONFIG_MEMORY_HOTPLUG y
80 setopt CONFIG_MEMORY_HOTREMOVE y
82 setopt CONFIG_MIGRATION n
84 setopt CONFIG_ACPI_HOTPLUG_MEMORY n
86 # Should all be set one way or another in defconfig but aren't
87 setopt CONFIG_NUMA n
88 setopt CONFIG_X86_VSMP n
89 setopt CONFIG_X86_UV n
90 setopt CONFIG_CALGARY_IOMMU n
91 setopt CONFIG_AMD_IOMMU n
92 setopt CONFIG_MAXSMP n
93 setopt CONFIG_SPARSEMEM_VMEMMAP n
94 setopt CONFIG_I7300_IDLE n
95 setopt CONFIG_DMAR n
96 setopt CONFIG_INTR_REMAP n
97 setopt CONFIG_GFS2_FS n
98 setopt CONFIG_IOMMU_DEBUG n
99 setopt CONFIG_X86_MCE_INTEL n
100 setopt CONFIG_X86_MCE_AMD n
101 setopt CONFIG_CRYPTO_AES_NI_INTEL n
102 setopt CONFIG_CISS_SCSI_TAPE n
104 setopt CONFIG_FUSION y
105 setopt CONFIG_FUSION_SPI m
106 setopt CONFIG_FUSION_SAS m
107 setopt CONFIG_FUSION_FC m
108 setopt CONFIG_FUSION_MAX_SGE 128
109 setopt CONFIG_FUSION_CTL n
110 setopt CONFIG_FUSION_LOGGING n
112 setopt CONFIG_BLK_CPQ_CISS_DA m
114 case ${XEN_TARGET_ARCH} in
115 x86_32) setopt CONFIG_64BIT n ;;
116 x86_64)
117 setopt CONFIG_64BIT y
118 setopt CONFIG_IA32_EMULATION y
119 setopt CONFIG_IA32_AOUT n
120 setopt CONFIG_CRYPTO_AES_X86_64 n
121 setopt CONFIG_CRYPTO_SALSA20_X86_64 n
122 setopt CONFIG_CRYPTO_TWOFISH_X86_64 n
123 ;;
124 *) ;;
125 esac
127 exit 0