PPC: KVM: Add missing address space to ldl_phys helper
PATCH 1/1 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.
--- target-ppc/kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target-ppc/kvm.c +1 -1
@@ -1232,7 +1232,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 :
Signature · 1 line
1.8.1.4
Quoted 4 lines · Alexander Graf
We now have to pass an address space to our
_physhelpers. During the transition apparently the EPR exit path missed out, so let's put it there.Signed-off-by Alexander Graf <[email protected]>
I assume this is a compile failure -- do you want it applied directly or are you happy to just let it go through the ppc queue?
thanks
-- PMM
Quoted 8 lines · Peter Maydell
Quoted 4 lines · Alexander Graf
We now have to pass an address space to our
_physhelpers. During the transition apparently the EPR exit path missed out, so let's put it there.Signed-off-by Alexander Graf <[email protected]>I assume this is a compile failure -- do you want it applied directly or are you happy to just let it go through the ppc queue?
It'd be awesome if you could pick it up directly. Compile breakages always make bisecting hard.
Alex
Peter Maydell
AppliedQuoted 7 lines · Alexander Graf
Quoted 4 lines · Peter Maydell
Quoted 3 lines · Alexander Graf
We now have to pass an address space to our
_physhelpers. During the transition apparently the EPR exit path missed out, so let's put it there.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Alexander Graf <[email protected]>I assume this is a compile failure -- do you want it applied directly or are you happy to just let it go through the ppc queue?
It'd be awesome if you could pick it up directly. Compile breakages always make bisecting hard.
Applied, thanks.
-- PMM