diff options
| author | Bharata B Rao | 2015-11-10 06:24:53 +0100 |
|---|---|---|
| committer | David Gibson | 2015-11-11 03:29:04 +0100 |
| commit | a3166f8f6e9d3928d0b863c7f0dac1cf24b6c004 (patch) | |
| tree | ec5812cf9bbd206b3c6f34a78fc07d83531d5020 /target-ppc | |
| parent | pseries: Update SLOF firmware image to qemu-slof-20151103 (diff) | |
| download | qemu-a3166f8f6e9d3928d0b863c7f0dac1cf24b6c004.tar.gz qemu-a3166f8f6e9d3928d0b863c7f0dac1cf24b6c004.tar.xz qemu-a3166f8f6e9d3928d0b863c7f0dac1cf24b6c004.zip | |
ppc: Let kvmppc_reset_htab() return 0 for !CONFIG_KVM
The !CONFIG_KVM implementation of kvmppc_reset_htab() returns -1
by default. Change this to return 0 so that we fall back to user space
HTAB allocation for emulated guests.
This fixes the make check failures for ppc64 emulated target.
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target-ppc')
| -rw-r--r-- | target-ppc/kvm_ppc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/kvm_ppc.h b/target-ppc/kvm_ppc.h index 309cbe0df1..5e1333d995 100644 --- a/target-ppc/kvm_ppc.h +++ b/target-ppc/kvm_ppc.h @@ -180,7 +180,7 @@ static inline int kvmppc_remove_spapr_tce(void *table, int pfd, static inline int kvmppc_reset_htab(int shift_hint) { - return -1; + return 0; } static inline uint64_t kvmppc_rma_size(uint64_t current_size, |
