On Tue, 2026-03-17 at 14:45 +0100, 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]>
> ---
>  I just found this old patch on one of my local branches ... seems like
>  I forgot to send it out after writing it last year...
> 
>  target/s390x/kvm/kvm.c | 52 +++++++++---------------------------------
>  1 file changed, 11 insertions(+), 41 deletions(-)

Nice.

Reviewed-by: Eric Farman <[email protected]>

Reply via email to