qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Thomas Huth
Subject: Re: [PATCH v3 4/5] target/s390x/kvm: Refactor AP functionalities
Date: Mon, 21 Aug 2023 09:57:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]