1config BR2_PACKAGE_XVISOR_ARCH_SUPPORTS 2 bool 3 default y 4 depends on BR2_USE_MMU 5 depends on BR2_arm || BR2_aarch64 || BR2_x86_64 6 depends on !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV7M 7 8menuconfig BR2_PACKAGE_XVISOR 9 bool "xvisor" 10 depends on BR2_PACKAGE_XVISOR_ARCH_SUPPORTS 11 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 12 help 13 Xvisor is an open-source type-1 hypervisor, which aims at 14 providing a monolithic, light-weight, portable, and flexible 15 virtualization solution. 16 17 http://www.xhypervisor.org/ 18 19if BR2_PACKAGE_XVISOR 20 21choice 22 prompt "Xvisor configuration" 23 default BR2_PACKAGE_XVISOR_USE_DEFCONFIG 24 25config BR2_PACKAGE_XVISOR_USE_DEFCONFIG 26 bool "Using an in-tree defconfig file" 27 28config BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG 29 bool "Using a custom (def)config file" 30 31endchoice 32 33config BR2_PACKAGE_XVISOR_DEFCONFIG 34 string "Defconfig name" 35 default "generic-v5" if BR2_ARM_CPU_ARMV5 36 default "generic-v6" if BR2_ARM_CPU_ARMV6 37 default "generic-v7" if BR2_ARM_CPU_ARMV7A 38 default "generic-v8" if BR2_aarch64 39 default "x86_64_generic" if BR2_x86_64 40 depends on BR2_PACKAGE_XVISOR_USE_DEFCONFIG 41 help 42 Name of the Xvisor defconfig file to use, without the 43 trailing -defconfig. The defconfig is located in 44 arch/<arch>/configs in the source tree. 45 46config BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE 47 string "Configuration file path" 48 depends on BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG 49 help 50 Path to the Xvisor configuration file 51 52config BR2_PACKAGE_XVISOR_CREATE_UBOOT_IMAGE 53 bool "Create U-Boot image of Xvisor" 54 depends on BR2_arm 55 select BR2_PACKAGE_HOST_UBOOT_TOOLS 56 help 57 Create an image file of Xvisor loadable from Das U-Boot. 58 59config BR2_PACKAGE_XVISOR_BUILD_TEST_DTB 60 bool "Build test device-tree blobs" 61 help 62 Build test device-tree blobs for popular boards. 63 64endif 65 66comment "xvisor needs a toolchain w/ gcc >= 4.9" 67 depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 68 depends on BR2_PACKAGE_XVISOR_ARCH_SUPPORTS 69