Required kernel variant check.

In addition to the kernel version, this adds a kernel variant check, which only allows `generic` kernels.