summaryrefslogtreecommitdiffstats
path: root/stubs/arch-query-cpu-model-expansion.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2016-09-05 10:52:37 +0200
committerCornelia Huck2016-09-06 17:06:51 +0200
commit07059effd14e1cb6497f711e905c55affa525677 (patch)
tree88c62661b4bcdb09f648e7bea6ccb466741a2466 /stubs/arch-query-cpu-model-expansion.c
parents390x/kvm: disable host model for problematic compat machines (diff)
downloadqemu-07059effd14e1cb6497f711e905c55affa525677.tar.gz
qemu-07059effd14e1cb6497f711e905c55affa525677.tar.xz
qemu-07059effd14e1cb6497f711e905c55affa525677.zip
s390x/kvm: let the CPU model control CMM(A)
Starting with recent kernels, if the cmma attributes are available, we actually have hardware support. Enabling CMMA then means providing the guest VCPU with CMM, therefore enabling its CMM facility. Let's not blindly enable CMM anymore but let's control it using CPU models. For disabled CPU models, CMMA will continue to always get enabled. Also enable it in the applicable default models. Please note that CMM doesn't work with hugetlbfs, therefore we will warn the user and keep it disabled. Migrating from/to a hugetlbfs configuration works, as it will be disabled on both sides. Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Message-Id: <20160905085244.99980-24-dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'stubs/arch-query-cpu-model-expansion.c')
0 files changed, 0 insertions, 0 deletions