]> git.proxmox.com Git - mirror_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)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 23 Sep 2016 02:39:07 +0000 (12:39 +1000)
commit0d594f5565837fe2886a8aa307ef8abb65eab8f7
tree62173b89bd9839e5e60d898fb0c9e6e62f1c928d
parent15ed653fa49a7ddda2034db5d722fd6c2d439dd8
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>
target-ppc/kvm.c