]> 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)
commitf8972e76fccd2328febb4acb4a08edbd6a36723d
tree7e444674777fad893eb4ab353267c397c44db57c
parentd3570014b0950d2e177650f6ed474c166e7efe2e
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