##// END OF EJS Templates
complete kvm
Unknown -
r525:b17ca7c26555
parent child
Show More
@@ -110,10 +110,24 if [ "$BUILD_KERNEL" = true ] ; then
110
110
111 # enable basic KVM support; see https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=210546&start=25#p1300453
111 # enable basic KVM support; see https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=210546&start=25#p1300453
112 if [ "$KERNEL_VIRT" = true ] && { [ "$RPI_MODEL" = 2 ] || [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] ; } ; then
112 if [ "$KERNEL_VIRT" = true ] && { [ "$RPI_MODEL" = 2 ] || [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] ; } ; then
113 set_kernel_config CONFIG_VIRTUALIZATION y
113 set_kernel_config CONFIG_HAVE_KVM_IRQCHIP y
114 set_kernel_config CONFIG_HAVE_KVM_ARCH_TLB_FLUSH_ALL y
115 set_kernel_config CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT y
116 set_kernel_config CONFIG_HAVE_KVM_EVENTFD y
117 set_kernel_config CONFIG_HAVE_KVM_IRQFD y
118 set_kernel_config CONFIG_HAVE_KVM_IRQ_ROUTING y
119 set_kernel_config CONFIG_HAVE_KVM_MSI y
114 set_kernel_config CONFIG_KVM y
120 set_kernel_config CONFIG_KVM y
115 set_kernel_config CONFIG_VHOST_NET m
121 set_kernel_config CONFIG_KVM_ARM_HOST y
122 set_kernel_config CONFIG_KVM_ARM_PMU y
123 set_kernel_config CONFIG_KVM_COMPAT y
124 set_kernel_config CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT y
125 set_kernel_config CONFIG_KVM_MMIO y
126 set_kernel_config CONFIG_KVM_VFIO y
127 set_kernel_config CONFIG_VHOST m
116 set_kernel_config CONFIG_VHOST_CROSS_ENDIAN_LEGACY y
128 set_kernel_config CONFIG_VHOST_CROSS_ENDIAN_LEGACY y
129 set_kernel_config CONFIG_VHOST_NET m
130 set_kernel_config CONFIG_VIRTUALIZATION y
117 fi
131 fi
118
132
119 # enable apparmor,integrity audit,
133 # enable apparmor,integrity audit,
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant