spapr_hcall: Fix h_enter to loop correctly
commit7aaf4957efad2bf6ac449d0caa9a1535f61006bc
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 14 Mar 2014 13:51:49 +0000 (14 19:21 +0530)
committerAndreas Färber <afaerber@suse.de>
Thu, 20 Mar 2014 01:39:23 +0000 (20 02:39 +0100)
treee0f9ad6cde276c6448135cabeeec2582e5ee68d1
parentcfd54a0409c92cbf3b2e6af39ce44a13f6940dd0
spapr_hcall: Fix h_enter to loop correctly

We wanted to loop till index is 8. On 8 we return with H_PTEG_FULL. If we
are successful in loading hpte with any other index, we continue with that
index value.

Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/ppc/spapr_hcall.c