Hi, Apologies if this has already been discussed but hasn't crossed my eyes. It seems that KVM_CREATE_VM ioctl will fail with -ENOMEM if the call to kvm_create_vm_debugfs() returns negative value. Is debugfs essential for KVM operation? I came across this when testing with a bpf-next kernel I manually compiled, from around v4.17. Creating a VM from QEMU threw following error: ioctl(KVM_CREATE_VM) failed: 12 Cannot allocate memory Running 4.19.0 kernel fixed the problem. Please note that kvm_create_vm_debugfs() would not fail if debugfs hasn't been registered at all. Thanks, Okash