aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorSteffen Eiden <seiden@linux.ibm.com>2023-08-23 16:22:18 +0200
committerThomas Huth <thuth@redhat.com>2023-09-12 11:35:46 +0200
commit354383c12294f2ee510204cfdc5aaed9f0c42171 (patch)
tree12e6c0d7750e98c90159f4324c062c3843398776 /scripts/qapi/source.py
parentlinux-headers: Update to Linux v6.6-rc1 (diff)
downloadqemu-354383c12294f2ee510204cfdc5aaed9f0c42171.tar.xz
qemu-354383c12294f2ee510204cfdc5aaed9f0c42171.zip
target/s390x/kvm: Refactor AP functionalities
kvm_s390_set_attr() is a misleading name as it only sets attributes for the KVM_S390_VM_CRYPTO group. Therefore, rename it to kvm_s390_set_crypto_attr(). Add new functions ap_available() and ap_enabled() to avoid code duplication later. Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Michael Mueller <mimu@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Message-ID: <20230823142219.1046522-5-seiden@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions