]> git.proxmox.com Git - mirror_qemu.git/commit - target-ppc/kvm.c
target-ppc: Update ppc_hash64_store_hpte to support updating in-kernel htab
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 20 Feb 2014 17:52:38 +0000 (18:52 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:07:03 +0000 (03:07 +0100)
commitc1385933804bb432a53d7a49836250d61b6e48bd
tree8185fe22e8c143dd29307c47393004e7a63ed544
parent3f94170be35e3d15d63498e9f0beeee6775be47d
target-ppc: Update ppc_hash64_store_hpte to support updating in-kernel htab

This support updating htab managed by the hypervisor. Currently we don't have
any user for this feature. This actually bring the store_hpte interface
in-line with the load_hpte one. We may want to use this when we want to
emulate henter hcall in qemu for HV kvm.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
[ folded fix for the "warn_unused_result" build break in
  kvmppc_hash64_write_pte(), 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>
target-ppc/kvm.c
target-ppc/kvm_ppc.h
target-ppc/mmu-hash64.c
target-ppc/mmu-hash64.h