1config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS 2 bool 3 default y if BR2_arm 4 default y if BR2_armeb 5 default y if BR2_aarch64 6 default y if BR2_i386 7 default y if BR2_m68k 8 default y if BR2_microblazeel 9 default y if BR2_microblazebe 10 default y if BR2_mips 11 default y if BR2_mipsel 12 default y if BR2_nios2 13 default y if BR2_or1k 14 default y if BR2_powerpc 15 default y if BR2_powerpc64 16 default y if BR2_powerpc64le 17 default y if BR2_riscv 18 default y if BR2_s390x 19 default y if BR2_sh 20 default y if BR2_sparc 21 default y if BR2_sparc64 22 default y if BR2_xtensa 23 default y if BR2_x86_64 24 depends on !BR2_x86_steamroller && !BR2_x86_core_avx2 25 depends on !BR2_powerpc_620 && !BR2_powerpc_630 && !BR2_powerpc_970 26 27config BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS 28 bool 29 default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS 30 default y if BR2_mips64 31 default y if BR2_mips64el 32 33config BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS 34 bool 35 default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS 36 37config BR2_PACKAGE_HOST_QEMU 38 bool "host qemu" 39 depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS 40 depends on BR2_HOST_GCC_AT_LEAST_8 41 select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE \ 42 if !BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE && BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS 43 select BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE \ 44 if !BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS 45 help 46 QEMU is a generic and open source machine emulator and 47 virtualizer. 48 49 This option builds an emulator for your selected architecture. 50 51 http://www.qemu.org 52 53comment "host-qemu needs a host gcc >= 8" 54 depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || \ 55 BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORT 56 depends on !BR2_HOST_GCC_AT_LEAST_8 57 58if BR2_PACKAGE_HOST_QEMU 59 60comment "Emulators selection" 61 62config BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE 63 bool "Enable system emulation" 64 depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS 65 help 66 Enables the build of the system emulator, which allows to 67 boot an entire system in Qemu. 68 69config BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE 70 bool "Enable Linux user-land emulation" 71 depends on BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS 72 help 73 Enables the build of the user-land emulator, which allows to 74 run user-space applications. 75 76 Note that system calls made by the emulated user-land are 77 serviced by the running host kernel. Therefore, if the 78 kernel headers used by your target are more recent than 79 the running host kernel, you may run into invalid system 80 calls, which may yield surprising effects. 81 82config BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS 83 string 84 default "-cpu Nehalem,check=false" if BR2_x86_corei7 85 86config BR2_PACKAGE_HOST_QEMU_VDE2 87 bool "VDE2 support" 88 help 89 Enables VDE2 support. VDE2 stands for Virtual Distributed 90 Ethernet and can be used to create virtual switches to 91 "plug" both physical and virtual machines in them. 92 93config BR2_PACKAGE_HOST_QEMU_VIRTFS 94 bool "Virtual filesystem support" 95 depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE 96 help 97 Enables support for virtual filesystem in Qemu allowing 98 shared filesystem between Qemu and its emulated target. 99 100config BR2_PACKAGE_HOST_QEMU_USB 101 bool "USB passthrough support" 102 help 103 Enables USB passthrough support from guest to host. 104 105endif 106