]> Git Repo - qemu.git/commit
s390x/kvm: Get rid of legacy_s390_alloc()
authorDavid Hildenbrand <[email protected]>
Wed, 3 Mar 2021 13:09:15 +0000 (14:09 +0100)
committerCornelia Huck <[email protected]>
Mon, 15 Mar 2021 10:01:23 +0000 (11:01 +0100)
commit996e7e4b72f48c2f878e269bb9252d97129b6f73
tree04b3ad0e8d551ee173a9991153062e60c3009b1c
parent6157b0e19721aadb4c7fdcfe57b2924af6144b14
s390x/kvm: Get rid of legacy_s390_alloc()

legacy_s390_alloc() was required for dealing with the absence of the ESOP
feature -- on old HW (< gen 10) and old z/VM versions (< 6.3).

As z/VM v6.2 (and even v6.3) is no longer supported since 2017 [1]
and we don't expect to have real users on such old hardware, let's drop
legacy_s390_alloc().

Still check+report an error just in case someone still runs on
such old z/VM environments, or someone runs under weird nested KVM
setups (where we can manually disable ESOP via the CPU model).

No need to check for KVM_CAP_GMAP - that should always be around on
kernels that also have KVM_CAP_DEVICE_CTRL (>= v3.15).

[1] https://www.ibm.com/support/lifecycle/search?q=z%2FVM

Suggested-by: Cornelia Huck <[email protected]>
Suggested-by: Thomas Huth <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Halil Pasic <[email protected]>
Cc: Cornelia Huck <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Thomas Huth <[email protected]>
Cc: Igor Mammedov <[email protected]>
Cc: Peter Xu <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Message-Id: <20210303130916[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
target/s390x/kvm.c
This page took 0.027124 seconds and 4 git commands to generate.