diff options
author | Steffen Eiden <seiden@linux.ibm.com> | 2023-08-23 16:22:18 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-09-12 11:35:46 +0200 |
commit | 354383c12294f2ee510204cfdc5aaed9f0c42171 (patch) | |
tree | 12e6c0d7750e98c90159f4324c062c3843398776 /scripts/u2f-setup-gen.py | |
parent | da3c22c74a3c6cbd26df40b2f6798a2d41be80ac (diff) | |
download | qemu-354383c12294f2ee510204cfdc5aaed9f0c42171.zip qemu-354383c12294f2ee510204cfdc5aaed9f0c42171.tar.gz qemu-354383c12294f2ee510204cfdc5aaed9f0c42171.tar.bz2 |
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/u2f-setup-gen.py')
0 files changed, 0 insertions, 0 deletions