]> git.ipfire.org Git - thirdparty/qemu.git/commit
s390x/kvm: fix cmma reset for KVM
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 24 Jan 2017 13:28:13 +0000 (14:28 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 16 Mar 2017 17:10:40 +0000 (12:10 -0500)
commit5fb07a7b6ca07580f5c2bf98e933128f7bf1fcbd
tree8e8169eba90b75b47546c91f078d442c52c66585
parent3fb4b3c371a9c080e7f53d22e6a2202d9982a7c4
s390x/kvm: fix cmma reset for KVM

We must reset the CMMA states for normal memory (when not on mem path),
but the current code does the opposite. This was unnoticed for some time
as the kernel since 4.6 also had a bug which mostly disabled the paging
optimizations.

Fixes: 07059effd14e ("s390x/kvm: let the CPU model control CMM(A)")
Cc: qemu-stable@nongnu.org # v2.8
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
(cherry picked from commit 0cf4d747cb8d053e6a6161aadfd3531fa1a62be1)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-s390x/kvm.c