INFO: setup Package: app-emulation/qemu-9.0.0:0 Repository: gentoo Maintainer: virtualization@gentoo.org dilfridge@gentoo.org USE: abi_x86_64 aio amd64 bzip2 curl elibc_glibc fdt filecaps gnutls jpeg kernel_linux ncurses nls oss pam pin-upstream-blobs png python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 qemu_softmmu_targets_x86_64 seccomp slirp udev vhost-net vnc xattr FEATURES: preserve-libs sandbox userpriv usersandbox Determining the location of the kernel source code Found kernel source directory: /usr/src/linux Found sources for kernel version: 6.8.8-gentoo-dist INFO: prepare Applying qemu-9.0.0-disable-keymap.patch ... Applying qemu-9.0.0-capstone-include-path.patch ... Applying qemu-9.0.0-also-build-virtfs-proxy-helper.patch ... Applying qemu-8.1.0-skip-tests.patch ... Applying qemu-8.1.0-find-sphinx.patch ... INFO: configure Using python3.12 in global scope INFO: test Skipping make test/check due to ebuild restriction. INFO: install Final size of build directory: 910296 KiB (888.9 MiB) Final size of installed tree: 261544 KiB (255.4 MiB) LOG: postinst If you don't have kvm compiled into the kernel, make sure you have the kernel module loaded before running kvm. The easiest way to ensure that the kernel module is loaded is to load it on boot. For AMD CPUs the module is called 'kvm-amd'. For Intel CPUs the module is called 'kvm-intel'. Please review /etc/conf.d/modules for how to load these. Make sure your user is in the 'kvm' group. Just run $ gpasswd -a kvm then have re-login. For brand new installs, the default permissions on /dev/kvm might not let you access it. You can tell udev to reset ownership/perms: $ udevadm trigger -c add /dev/kvm If you want to register binfmt handlers for qemu user targets: For openrc: # rc-update add qemu-binfmt For systemd: # ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf (Note: Above message is only printed the first time package is installed. Please look at /usr/share/doc/qemu-9.0.0/README.gentoo* for future reference)