Michael Tokarev 03396148bc allow qemu_iovec_from_buffer() to specify offset from which to start copying
Similar to
 qemu_iovec_memset(QEMUIOVector *qiov, size_t offset,
                   int c, size_t bytes);
the new prototype is:
 qemu_iovec_from_buf(QEMUIOVector *qiov, size_t offset,
                     const void *buf, size_t bytes);

The processing starts at offset bytes within qiov.

This way, we may copy a bounce buffer directly to
a middle of qiov.

This is exactly the same function as iov_from_buf() from
iov.c, so use the existing implementation and rename it
to qemu_iovec_from_buf() to be shorter and to match the
utility function.

As with utility implementation, we now assert that the
offset is inside actual iovec.  Nothing changed for
current callers, because `offset' parameter is new.

While at it, stop using "bounce-qiov" in block/qcow2.c
and copy decrypted data directly from cluster_data
instead of recreating a temp qiov for doing that.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2012-06-11 23:12:11 +04:00
2012-05-24 19:35:27 +04:00
2012-05-01 00:17:27 +02:00
2012-05-30 10:28:44 +08:00
2012-05-16 18:04:45 -03:00
2012-05-30 17:04:41 +00:00
2012-05-30 17:04:41 +00:00
2012-06-04 23:00:45 +02:00
2012-06-04 23:00:45 +02:00
2012-06-04 23:00:45 +02:00
2012-06-04 23:00:45 +02:00
2012-06-04 23:00:45 +02:00
2012-06-04 23:00:45 +02:00
2012-06-04 23:00:45 +02:00
2012-06-04 23:00:45 +02:00
2012-06-04 23:00:45 +02:00
2012-06-04 23:00:45 +02:00
2012-06-07 21:09:46 +04:00
2012-04-27 11:44:50 -03:00
2012-05-14 07:27:24 +02:00
2012-05-12 09:14:38 +00:00
2012-05-14 07:27:24 +02:00
2012-06-04 13:49:34 -03:00
2012-06-04 13:49:35 -03:00
2012-06-04 13:49:35 -03:00
2012-06-04 13:49:35 -03:00
2012-05-08 14:30:09 -03:00
2012-06-07 21:09:46 +04:00
2012-06-07 21:09:46 +04:00
2012-05-10 08:33:34 -05:00
2012-06-04 13:49:35 -03:00
2012-04-26 13:14:58 -05:00
2012-05-14 17:02:19 +02:00
2012-05-10 10:32:13 +02:00
2012-05-01 00:17:27 +02:00
2012-04-26 13:14:58 -05:00
2012-05-08 14:30:09 -03:00
2012-04-24 09:50:31 -05:00
2012-05-08 11:15:18 -05:00

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

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 531 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%