1*4882a593Smuzhiyunconfig BR2_PACKAGE_KVMTOOL 2*4882a593Smuzhiyun bool "kvmtool" 3*4882a593Smuzhiyun depends on BR2_USE_MMU # guest simple init fork() 4*4882a593Smuzhiyun # No MADV_HUGEPAGE define in uClibc(-ng) 5*4882a593Smuzhiyun depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) 6*4882a593Smuzhiyun # Only mips big-endian seems to be supported (build breaks) 7*4882a593Smuzhiyun # Should work on powerpc64 but the build breaks with missing types 8*4882a593Smuzhiyun depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \ 9*4882a593Smuzhiyun BR2_mips || BR2_x86_64 10*4882a593Smuzhiyun # libfdt is only required for DT architectures... 11*4882a593Smuzhiyun # ...but it's not able to build for static targets 12*4882a593Smuzhiyun depends on !(BR2_STATIC_LIBS && (BR2_aarch64 || BR2_arm || BR2_armeb)) 13*4882a593Smuzhiyun select BR2_PACKAGE_DTC if BR2_aarch64 || BR2_arm || BR2_armeb 14*4882a593Smuzhiyun help 15*4882a593Smuzhiyun kvmtool is a lightweight tool for hosting KVM guests. 16*4882a593Smuzhiyun As a pure virtualization tool it only supports guests using 17*4882a593Smuzhiyun the same architecture, though it supports running 32-bit 18*4882a593Smuzhiyun guests on those 64-bit architectures that allow this. 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun https://git.kernel.org/cgit/linux/kernel/git/will/kvmtool.git/tree/README 21*4882a593Smuzhiyun 22*4882a593Smuzhiyuncomment "kvmtool needs a glibc or musl toolchain" 23*4882a593Smuzhiyun depends on BR2_USE_MMU 24*4882a593Smuzhiyun depends on BR2_i386 || BR2_mips || BR2_x86_64 25*4882a593Smuzhiyun depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) 26*4882a593Smuzhiyun 27*4882a593Smuzhiyuncomment "kvmtool needs a glibc or musl toolchain w/ dynamic library" 28*4882a593Smuzhiyun depends on BR2_USE_MMU 29*4882a593Smuzhiyun depends on BR2_aarch64 || BR2_arm || BR2_armeb 30*4882a593Smuzhiyun depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \ 31*4882a593Smuzhiyun BR2_STATIC_LIBS 32