aurel32 6c2934db94 Fix cpu_physical_memory_rw() for 64-bit I/O accesses
KVM uses cpu_physical_memory_rw() to access the I/O devices. When a
read or write with a length of 8-byte is requested, it is split into 2
4-byte accesses.

This has been broken in revision 5849. After this revision, only the
first 4 bytes are actually read/write to the device, as the target
address is changed, so on the next iteration of the loop the next 4
bytes are actually read/written elsewhere (in the RAM for the graphic
card).

This patch fixes screen corruption (and most probably data corruption)
with FreeBSD/amd64. Bug #2556746 in KVM bugzilla.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6628 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-18 21:37:17 +00:00
2009-01-28 17:16:56 +00:00
2009-02-09 23:19:44 +00:00
2009-01-14 19:40:27 +00:00
2009-01-22 17:15:25 +00:00
2008-12-13 09:32:43 +00:00
2009-01-05 18:11:53 +00:00
2009-01-14 18:39:49 +00:00
2009-01-14 18:39:49 +00:00
2008-10-12 17:54:42 +00:00
2009-01-14 19:40:27 +00:00
2009-02-05 21:23:54 +00:00
2008-10-27 19:49:12 +00:00
2009-02-09 19:58:22 +00:00
2009-02-05 21:23:58 +00:00
2009-02-08 17:17:52 +00:00
2008-11-12 17:18:41 +00:00
2008-12-14 08:50:18 +00:00
2008-11-30 16:25:37 +00:00
2009-01-05 18:11:53 +00:00
2008-12-11 19:39:56 +00:00
2009-01-24 18:19:25 +00:00
2009-01-14 18:39:49 +00:00
2009-02-11 21:00:32 +00:00
2009-01-14 18:34:22 +00:00
2008-12-14 08:50:18 +00:00
2008-12-13 09:32:43 +00:00
2008-10-02 18:26:42 +00:00
2008-12-14 08:53:17 +00:00
2008-12-04 11:29:42 +00:00
2008-11-25 16:49:33 +00:00
2009-02-15 20:18:41 +00:00
2009-02-09 23:19:32 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%