1
0
Fork 0
alistair23-linux/Documentation/virtual/kvm/devices
Michael Mueller 658b6eda20 KVM: s390: add cpu model support
This patch enables cpu model support in kvm/s390 via the vm attribute
interface.

During KVM initialization, the host properties cpuid, IBC value and the
facility list are stored in the architecture specific cpu model structure.

During vcpu setup, these properties are taken to initialize the related SIE
state. This mechanism allows to adjust the properties from user space and thus
to implement different selectable cpu models.

This patch uses the IBC functionality to block instructions that have not
been implemented at the requested CPU type and GA level compared to the
full host capability.

Userspace has to initialize the cpu model before vcpu creation. A cpu model
change of running vcpus is not possible.

Signed-off-by: Michael Mueller <mimu@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2015-02-09 12:44:13 +01:00
..
README kvm: add device control API 2013-04-26 20:27:20 +02:00
arm-vgic.txt arm/arm64: KVM: force alignment of VGIC dist/CPU/redist addresses 2015-01-20 18:25:33 +01:00
mpic.txt kvm/ppc/mpic: remove default routes from documentation 2013-04-30 11:50:39 +02:00
s390_flic.txt KVM: s390: adapter interrupt sources 2014-03-21 13:42:49 +01:00
vfio.txt kvm: Add VFIO device 2013-10-30 19:02:03 +01:00
vm.txt KVM: s390: add cpu model support 2015-02-09 12:44:13 +01:00
xics.txt KVM: PPC: Book3S: Add API for in-kernel XICS emulation 2013-05-02 15:28:36 +02:00

README

This directory contains specific device bindings for KVM_CAP_DEVICE_CTRL.