Alexander Yarygin 6e40b3bfc7 virtio-blk: Use blk_drain() to drain IO requests
Each call of the virtio_blk_reset() function calls blk_drain_all(),
which works for all existing BlockDriverStates, while draining only
one is needed.

This patch replaces blk_drain_all() by blk_drain() in
virtio_blk_reset(). virtio_blk_data_plane_stop() should be called
after draining because it restores vblk->complete_request.

Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Message-id: 1434537440-28236-3-git-send-email-yarygin@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-06-23 15:06:16 +01:00
2015-06-18 14:12:33 +02:00
2015-06-17 20:02:15 +01:00
2015-06-17 20:02:15 +01:00
2015-06-22 17:40:01 +02:00
2015-06-22 17:40:01 +02:00
2015-06-23 10:38:00 +01:00
2015-06-22 17:40:01 +02:00
2015-06-22 17:40:01 +02:00
2015-06-22 17:40:01 +02:00
2015-06-12 06:42:34 +02:00
2015-06-22 18:20:40 +02:00
2015-06-03 14:21:24 +03:00
2015-06-22 17:40:01 +02:00
2015-06-12 13:42:17 +01:00
2015-06-19 11:30:57 +01:00
2015-06-03 14:21:24 +03:00
2015-06-15 13:24:51 +01:00
2015-05-11 08:59:07 -04:00
2015-06-22 18:20:40 +02:00
2015-05-22 15:58:22 -04:00
2015-06-11 10:13:28 +01:00
2015-06-22 18:20:40 +02:00

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

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