> Rather than force architectures to add the extension, probably better to use a > > config HAVE_KVM_NOWAIT_ON_FAULT > bool > > and select that from arch Kconfigs. That way the enumeration can be done in > common code, and then this can be computed at compile time doesn't need to do a > rather weird invocation of kvm_dev_ioctl() with KVM_CHECK_EXTENSION. Done. If I'm reading this correctly you also want me to move the logic for checking the cap out of the arch-specific kvm_vm_ioctl_check_extension() and into kvm_vm_ioctl_check_extension_generic(), which I've done too.