From: Alexander Graf Date: Fri, 14 Feb 2014 08:15:21 +0000 (+0100) Subject: PPC: KVM: Add missing address space to ldl_phys helper X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~386^2~42^2~175 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=933b19ea9784de7ed2eb6e10262b9363c5c03ed7;p=sdk%2Femulator%2Fqemu.git PPC: KVM: Add missing address space to ldl_phys helper We now have to pass an address space to our _phys helpers. During the transition apparently the EPR exit path missed out, so let's put it there. Signed-off-by: Alexander Graf Signed-off-by: Peter Maydell --- diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index 781b72f1ea..7af3fe277d 100644 --- a/target-ppc/kvm.c +++ b/target-ppc/kvm.c @@ -1228,7 +1228,7 @@ int kvm_arch_handle_exit(CPUState *cs, struct kvm_run *run) #endif case KVM_EXIT_EPR: DPRINTF("handle epr\n"); - run->epr.epr = ldl_phys(env->mpic_iack); + run->epr.epr = ldl_phys(cs->as, env->mpic_iack); ret = 0; break; case KVM_EXIT_WATCHDOG: