OSDN Git Service

KVM: s390: Add a routine for setting userspace CPU state
authorEric Farman <farman@linux.ibm.com>
Fri, 8 Oct 2021 20:31:12 +0000 (22:31 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 25 Oct 2021 07:20:39 +0000 (09:20 +0200)
commit67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c
tree9b78ccfee213a0ee65b4e52d20c96c2ad98e5821
parent8eeba194a32e0f50329354a696baaa2e3d9accc5
KVM: s390: Add a routine for setting userspace CPU state

This capability exists, but we don't record anything when userspace
enables it. Let's refactor that code so that a note can be made in
the debug logs that it was enabled.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20211008203112.1979843-7-farman@linux.ibm.com
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h