Peter CrosthwaiteandPaolo Bonzini 23820dbfc7 exec: Respect as_translate_internal length clamp
address_space_translate_internal will clamp the *plen length argument
based on the size of the memory region being queried. The iommu walker
logic in addresss_space_translate was ignoring this by discarding the
post fn call value of *plen. Fix by just always using *plen as the
length argument throughout the fn, removing the len local variable.

This fixes a bootloader bug when a single elf section spans multiple
QEMU memory regions.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-Id: <1426570554-15940-1-git-send-email-peter.crosthwaite@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-04-27 18:24:19 +02:00
2015-03-19 11:30:37 +03:00
2015-04-27 18:24:19 +02:00
2015-04-04 09:45:59 +03:00
2015-03-27 10:01:12 +00:00
2015-03-25 13:38:07 +01:00
2015-03-19 11:35:52 +03:00
2015-04-17 14:27:42 +01:00
2015-03-17 14:31:15 +01:00
2015-04-02 15:58:39 +02:00
2015-04-27 18:24:18 +02:00
2015-03-10 09:26:22 +01:00
2015-04-25 22:05:07 +01:00
2015-03-26 15:31:46 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
S
Description
No description provided
Readme
598 MiB
Languages
C 82.1%
C++ 6.7%
Python 3.4%
Dylan 2.6%
Shell 1.5%
Other 3.4%