summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorDavid Hildenbrand2016-09-05 10:52:26 +0200
committerCornelia Huck2016-09-06 17:06:50 +0200
commit80560137cfbb88ba40eb3b933741c63bd43b5fe3 (patch)
treeb2e7b33e3c936bb2e0799908bd557073ff09e97e /scripts/switch-timer-api
parents390x/cpumodel: let the CPU model handle feature checks (diff)
downloadqemu-80560137cfbb88ba40eb3b933741c63bd43b5fe3.tar.gz
qemu-80560137cfbb88ba40eb3b933741c63bd43b5fe3.tar.xz
qemu-80560137cfbb88ba40eb3b933741c63bd43b5fe3.zip
s390x/cpumodel: check and apply the CPU model
We have to test if a configured CPU model is runnable in the current configuration, and if not report why that is the case. This is done by comparing it to the maximum supported model (host for KVM or z900 for TCG). Also, we want to do some base sanity checking for a configured CPU model. We'll cache the maximum model and the applied model (for performance reasons and because KVM can only be configured before any VCPU is created). For unavailable "host" model, we have to make sure that we inform KVM, so it can do some compatibility stuff (enable CMMA later on to be precise). Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Message-Id: <20160905085244.99980-13-dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions