Stefan Hajnoczi b404bf8542 dmg: drop broken bdrv_pread() loop
It is not necessary to check errno for EINTR and the block layer does
not produce short reads.  Therefore we can drop the loop that attempts
to read a compressed chunk.

The loop is buggy because it incorrectly adds the transferred bytes
twice:

  do {
      ret = bdrv_pread(...);
      i += ret;
  } while (ret >= 0 && ret + i < s->lengths[chunk]);

Luckily we can drop the loop completely and perform a single
bdrv_pread().

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-04-01 15:22:35 +02:00
2014-04-01 15:22:35 +02:00
2014-03-31 19:53:34 +01:00
2014-03-31 19:28:38 +02:00
2014-03-13 20:15:37 +01:00
2014-03-03 09:46:27 +04:00
2014-03-13 20:15:37 +01:00
2014-03-25 14:09:50 +01:00
2014-03-26 05:33:02 +01:00
2014-03-28 13:46:29 +00:00
2014-03-12 17:26:32 +01:00
2014-03-19 19:47:15 +01:00
2014-03-13 14:42:24 +01:00
2014-03-17 11:50:19 +00:00
2014-03-13 14:42:24 +01:00
2014-03-27 15:19:00 +05:30
2014-02-21 21:02:23 +01:00
2014-03-13 14:34:16 +00:00
2014-02-25 14:30:28 +01:00
2014-03-27 15:19:00 +05:30
2014-03-17 13:21:11 +01:00
2014-03-05 03:06:24 +01:00
2014-03-27 15:19:00 +05:30
2014-02-17 11:57:23 -05:00
2014-03-27 15:19:00 +05:30
2014-03-13 20:08:15 -07:00
2014-03-27 15:19:00 +05:30

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

- QEMU team
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%