OSDN Git Service

s390x/kvm: Officially require at least kernel 3.15
authorThomas Huth <thuth@redhat.com>
Fri, 13 Sep 2019 09:14:43 +0000 (11:14 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 23 Sep 2019 07:15:03 +0000 (09:15 +0200)
commit7d69e8bc3b0ca4e48b24e7cb9db6dd77fa0b3481
tree571869e42b16e8d54ad9ab72a245abec980142c7
parente0d95e100ff6d9188f188b431309ccba6075cf42
s390x/kvm: Officially require at least kernel 3.15

Since QEMU v2.10, the KVM acceleration does not work on older kernels
anymore since the code accidentally requires the KVM_CAP_DEVICE_CTRL
capability now - it should have been optional instead.
Instead of fixing the bug, we asked in the ChangeLog of QEMU 2.11 - 3.0
that people should speak up if they still need support of QEMU running
with KVM on older kernels, but seems like nobody really complained.
Thus let's make this official now and turn it into a proper error
message, telling the users to use at least kernel 3.15 now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190913091443.27565-1-thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
hw/intc/s390_flic_kvm.c
hw/intc/trace-events
target/s390x/kvm.c