projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0888a29
)
PPC: KVM: Add missing address space to ldl_phys helper
author
Alexander Graf
<agraf@suse.de>
Fri, 14 Feb 2014 08:15:21 +0000
(09:15 +0100)
committer
Peter Maydell
<peter.maydell@linaro.org>
Fri, 14 Feb 2014 10:42:31 +0000
(10:42 +0000)
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>
target-ppc/kvm.c
patch
|
blob
|
history
diff --git
a/target-ppc/kvm.c
b/target-ppc/kvm.c
index 781b72f1ea5a06fb85b86b10738cee2bfe09acb6..7af3fe277dd59070c7781acd0c90f4174262aac1 100644
(file)
--- 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: