On 3/17/26 9:45 AM, Thomas Huth wrote:
> From: Thomas Huth <[email protected]>
> 
> Since commit 126e7f78036 ("kvm: require KVM_CAP_IOEVENTFD and
> KVM_CAP_IOEVENTFD_ANY_LENGTH") we require at least kernel v4.4 to
> be able to use KVM. KVM_CAP_ASYNC_PF is available in the kernel
> since v3.15 and KVM_SYNC_PFAULT is available since kernel v3.18,
> so we can assume now that they are available in all supported
> kernels. Thus simplify the code a little bit by removing the
> checks for these features.
> 
> Signed-off-by: Thomas Huth <[email protected]>

LGTM, thanks Thomas!

Reviewed-by: Matthew Rosato <[email protected]>



Reply via email to