@@ -106,14 +106,37 if [ "$BUILD_KERNEL" = true ] ; then | |||
|
106 | 106 | set_kernel_config CONFIG_Z3FOLD y |
|
107 | 107 | set_kernel_config CONFIG_ZSMALLOC y |
|
108 | 108 | set_kernel_config CONFIG_PGTABLE_MAPPING y |
|
109 | set_kernel_config CONFIG_LZO_COMPRESS y | |
|
109 | 110 | fi |
|
110 | 111 | |
|
111 | 112 | # enable basic KVM support; see https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=210546&start=25#p1300453 |
|
112 | 113 | if [ "$KERNEL_VIRT" = true ] && { [ "$RPI_MODEL" = 2 ] || [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] ; } ; then |
|
113 |
|
|
|
114 | set_kernel_config CONFIG_HAVE_KVM_IRQCHIP y | |
|
115 | set_kernel_config CONFIG_HAVE_KVM_ARCH_TLB_FLUSH_ALL y | |
|
116 | set_kernel_config CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT y | |
|
117 | set_kernel_config CONFIG_HAVE_KVM_EVENTFD y | |
|
118 | set_kernel_config CONFIG_HAVE_KVM_IRQFD y | |
|
119 | set_kernel_config CONFIG_HAVE_KVM_IRQ_ROUTING y | |
|
120 | set_kernel_config CONFIG_HAVE_KVM_MSI y | |
|
114 | 121 | set_kernel_config CONFIG_KVM y |
|
115 |
set_kernel_config CONFIG_VHOST |
|
|
122 | set_kernel_config CONFIG_KVM_ARM_HOST y | |
|
123 | set_kernel_config CONFIG_KVM_ARM_PMU y | |
|
124 | set_kernel_config CONFIG_KVM_COMPAT y | |
|
125 | set_kernel_config CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT y | |
|
126 | set_kernel_config CONFIG_KVM_MMIO y | |
|
127 | set_kernel_config CONFIG_KVM_VFIO y | |
|
128 | set_kernel_config CONFIG_VHOST m | |
|
116 | 129 | set_kernel_config CONFIG_VHOST_CROSS_ENDIAN_LEGACY y |
|
130 | set_kernel_config CONFIG_VHOST_NET m | |
|
131 | set_kernel_config CONFIG_VIRTUALIZATION y | |
|
132 | ||
|
133 | set_kernel_config CONFIG_MMU_NOTIFIER y | |
|
134 | ||
|
135 | # erratum | |
|
136 | set_kernel_config ARM64_ERRATUM_834220 y | |
|
137 | ||
|
138 | # https://sourceforge.net/p/kvm/mailman/message/18440797/ | |
|
139 | set_kernel_config CONFIG_PREEMPT_NOTIFIERS y | |
|
117 | 140 | fi |
|
118 | 141 | |
|
119 | 142 | # enable apparmor,integrity audit, |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant