diff options
author | Michael Mueller <mimu@linux.vnet.ibm.com> | 2015-02-02 17:49:35 +0300 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-02-09 14:44:13 +0300 |
commit | 658b6eda2042c0fe0e3f8acd7ffd11fc6f280119 (patch) | |
tree | 51849b96f3a5b295af5d943ad02659fab7caa714 /virt/kvm | |
parent | 9d8d578605b4fca37bd2230bbacb3ad0ee48e7e4 (diff) | |
download | linux-658b6eda2042c0fe0e3f8acd7ffd11fc6f280119.tar.xz |
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>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions