]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/kvm: Mark 64kB page size support as disabled if not available
authorThomas Huth <thuth@redhat.com>
Wed, 21 Sep 2016 09:42:15 +0000 (11:42 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 2 Nov 2016 23:19:00 +0000 (18:19 -0500)
commit61781984dbadc2ed7af51e1f818a7d8beec2ec7b
tree1ce5cfdd169685e55b26761acfed04aa91c68e80
parent857efecf91f41105f919844ef71992e247817e3e
ppc/kvm: Mark 64kB page size support as disabled if not available

QEMU currently refuses to start with KVM-PR and only prints out

qemu: fatal: Unknown MMU model 851972

when being started there. This is because commit 4322e8ced5aaac719
("ppc: Fix 64K pages support in full emulation") introduced a new
POWERPC_MMU_64K bit to indicate support for this page size, but
it never gets cleared on KVM-PR if the host kernel does not support
this. Thus we've got to turn off this bit in the mmu_model for KVM-PR.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
(cherry picked from commit 0d594f5565837fe2886a8aa307ef8abb65eab8f7)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-ppc/kvm.c