]> git.proxmox.com Git - mirror_qemu.git/commit - softmmu/physmem.c
cputlb: Pass cpu_transaction_failed() the correct physaddr
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Jun 2018 13:57:14 +0000 (14:57 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Jun 2018 14:23:34 +0000 (15:23 +0100)
commit2d54f19401bc54b3b56d1cc44c96e4087b604b97
treed284c1967616f8f77fc36226f64459c2bb362bba
parentace4109011b4912b24e76f152e2cf010e78819c5
cputlb: Pass cpu_transaction_failed() the correct physaddr

The API for cpu_transaction_failed() says that it takes the physical
address for the failed transaction. However we were actually passing
it the offset within the target MemoryRegion. We don't currently
have any target CPU implementations of this hook that require the
physical address; fix this bug so we don't get confused if we ever
do add one.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180611125633.32755-3-peter.maydell@linaro.org
accel/tcg/cputlb.c
exec.c
include/exec/exec-all.h