mirror of
https://github.com/xemu-project/xemu.git
synced 2025-03-03 18:17:22 +00:00
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 <agraf@suse.de> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
0888a29caa
commit
933b19ea97
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user