Paolo Bonzini 8e321cc622 scsi: fix accounting of writes
Writes go through scsi_write_complete at least twice, the first time
to get some data without having actually written anything.  Because
of this, the first time scsi_write_complete is called it will call
bdrv_acct_done and account a read incorrectly.  Fix this by looking
at the aiocb.  I am doing the same in scsi_read_complete for symmetry,
but it is only needed in the (bogus) case of bdrv_aio_readv returning
NULL.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-09-06 13:15:25 +02:00
2011-09-03 17:47:14 +00:00
2011-09-06 13:15:25 +02:00
2011-08-10 17:34:13 +02:00
2011-08-10 17:34:13 +02:00
2011-08-23 22:24:40 +02:00
2011-08-27 15:42:35 +00:00
2011-09-06 11:23:51 +02:00
2009-03-10 21:43:35 +00:00
2011-06-20 17:08:57 +01:00
2011-08-22 10:17:44 -05:00
2011-08-12 13:07:58 +01:00
2011-09-02 10:34:55 -05:00
2011-08-25 09:21:48 +01:00
2011-08-04 15:51:22 +02:00
2011-08-28 07:17:08 +00:00
2011-08-27 15:42:35 +00:00
2011-08-27 15:42:35 +00:00
2011-08-04 15:51:22 +02:00
2011-08-04 15:51:22 +02:00
2011-09-02 10:34:55 -05:00
2008-12-14 08:50:18 +00:00
2011-09-06 11:23:51 +02:00
2011-08-05 10:57:34 -05:00
2011-09-02 10:34:55 -05:00
2011-08-27 15:42:35 +00:00
2011-07-21 16:48:13 -03:00
2011-07-25 14:38:56 +00:00
2011-08-21 15:33:33 +00:00
2011-08-21 15:33:22 +00:00
2011-08-27 15:42:35 +00:00
2011-08-27 15:42:35 +00:00
2011-08-22 10:17:44 -05:00
2011-08-20 23:01:08 -05:00
2011-08-02 15:53:40 +02:00
2011-08-05 10:57:35 -05:00
2011-07-21 16:48:13 -03:00
2011-08-26 18:18:38 +02:00
2011-07-23 11:26:12 -05:00
2011-08-27 15:42:35 +00:00
2010-03-14 22:04:50 +01:00
2011-07-23 11:57:53 -05:00
2011-08-27 15:42:35 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 524 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%