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: Michael Mueller <m...@linux.ibm.com>
Signed-off-by: Steffen Eiden <sei...@linux.ibm.com>
---
  target/s390x/kvm/kvm.c | 24 +++++++++++++++++-------
  1 file changed, 17 insertions(+), 7 deletions(-)

Reviewed-by: Thomas Huth <th...@redhat.com>


Reply via email to