]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/machine.c
target-ppc: Fix htab_mask calculation
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 20 Feb 2014 17:52:17 +0000 (18:52 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:07:02 +0000 (03:07 +0100)
commitf3c75d42adbba553eaf218a832d4fbea32c8f7b8
tree632fbedc382ce1a97ee5cc21a55dd61f8a5a4c7d
parent3707cd62db79ba965a211b9e2bb808792ae7343a
target-ppc: Fix htab_mask calculation

Correctly update the htab_mask using the return value of
KVM_PPC_ALLOCATE_HTAB ioctl. Also we don't update sdr1
on GET_SREGS for HV. We check for external htab and if
found true, we don't need to update sdr1

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
[ fixed pte group offset computation in ppc_hash64_htab_lookup() that
  caused TCG to fail, Greg Kurz <gkurz@linux.vnet.ibm.com> ]
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr.c
hw/ppc/spapr_hcall.c
target-ppc/cpu.h
target-ppc/kvm.c
target-ppc/machine.c
target-ppc/misc_helper.c
target-ppc/mmu-hash64.c
target-ppc/mmu_helper.c