]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: implement the RI support of guest
authorFan Zhang <zhangfan@linux.vnet.ibm.com>
Thu, 7 Jan 2016 10:24:29 +0000 (18:24 +0800)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 7 Jan 2016 13:48:26 +0000 (14:48 +0100)
commitd699b3eb26e92fb7fe2ebe2dfd7b144fa3121f71
tree7e444674777fad893eb4ab353267c397c44db57c
parent7cecd16ad1a48d07bb1b481a099f4a4b7d0aea8e
KVM: s390: implement the RI support of guest

This patch adds runtime instrumentation support for KVM guest. We need to
setup a save area for the runtime instrumentation-controls control block(RICCB)
and implement the necessary interfaces to live migrate the guest settings.

We setup the sie control block in a way, that the runtime
instrumentation instructions of a guest are handled by hardware.

We also add a capability KVM_CAP_S390_RI to make this feature opt-in as
it needs migration support.

Signed-off-by: Fan Zhang <zhangfan@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/include/uapi/asm/kvm.h
arch/s390/kvm/kvm-s390.c
include/uapi/linux/kvm.h