Re: [PATCH v3 4/5] target/s390x/kvm: Refactor AP functionalities

2023-08-21 Thread Thomas Huth
On 18/08/2023 13.15, Steffen Eiden wrote: 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: Mic

[PATCH v3 4/5] target/s390x/kvm: Refactor AP functionalities

2023-08-18 Thread Steffen Eiden
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: Michael Mueller Signed-off-by: Steffen Eiden