]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: interface to query and configure cpu features
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Thu, 19 Mar 2015 16:36:43 +0000 (17:36 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 10 Jun 2016 10:07:13 +0000 (12:07 +0200)
commita5cff49b9662806d9adc3c6226aa85f8e58d9782
tree6db191e053d4b6ae0c9a08c75a060e6869371cae
parent0f61ed9a8de9438a79f38c2cff4bdb9694767bd3
KVM: s390: interface to query and configure cpu features

For now, we only have an interface to query and configure facilities
indicated via STFL(E). However, we also have features indicated via
SCLP, that have to be indicated to the guest by user space and usually
require KVM support.

This patch allows user space to query and configure available cpu features
for the guest.

Please note that disabling a feature doesn't necessarily mean that it is
completely disabled (e.g. ESOP is mostly handled by the SIE). We will try
our best to disable it.

Most features (e.g. SCLP) can't directly be forwarded, as most of them need
in addition to hardware support, support in KVM. As we later on want to
turn these features in KVM explicitly on/off (to simulate different
behavior), we have to filter all features provided by the hardware and
make them configurable.

Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Documentation/virtual/kvm/devices/vm.txt
arch/s390/include/asm/kvm_host.h
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h