diff options
| author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-03-29 10:31:31 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2012-04-19 16:03:27 +0200 |
| commit | e82dabd82e7a8ce0294bce829b3d2dd25eb3a514 (patch) | |
| tree | 23323a335733668cc2f7214905b7d27b8481282b /qemu-io.c | |
| parent | bef0fd5958120542f126f2dedbfce65d8839a94d (diff) | |
| download | focaccia-qemu-e82dabd82e7a8ce0294bce829b3d2dd25eb3a514.tar.gz focaccia-qemu-e82dabd82e7a8ce0294bce829b3d2dd25eb3a514.zip | |
ide: convert ide_sector_write() to asynchronous I/O
The IDE PIO write sector code path uses bdrv_write() and hence can make the guest unresponsive while the I/O request is in progress. This patch converts ide_sector_write() to use bdrv_aio_writev() by using the BUSY_STAT bit to tell the guest that the request is in progress. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Tested-by: Richard Davies <richard@arachsys.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions