]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: introduce post handlers for STSI
authorEkaterina Tumanova <tumanova@linux.vnet.ibm.com>
Fri, 30 Jan 2015 15:55:56 +0000 (16:55 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 17 Mar 2015 15:26:51 +0000 (16:26 +0100)
commit6f6d3bdb79d821194efcc4aaf4d876721afb84b1
treed452385decc56c0e01927738d78fda73d0cd813b
parent6762cb0d1d6d6fc85d15affec2c057f79c628919
KVM: s390: introduce post handlers for STSI

The Store System Information (STSI) instruction currently collects all
information it relays to the caller in the kernel. Some information,
however, is only available in user space. An example of this is the
guest name: The kernel always sets "KVMGuest", but user space knows the
actual guest name.

This patch introduces a new exit, KVM_EXIT_S390_STSI, guarded by a
capability that can be enabled by user space if it wants to be able to
insert such data. User space will be provided with the target buffer
and the requested STSI function code.

Reviewed-by: Eric Farman <farman@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Documentation/virtual/kvm/api.txt
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/priv.c
include/uapi/linux/kvm.h