summaryrefslogtreecommitdiff
path: root/hmp.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-03-29 10:31:31 +0100
committerKevin Wolf <kwolf@redhat.com>2012-04-19 16:03:27 +0200
commite82dabd82e7a8ce0294bce829b3d2dd25eb3a514 (patch)
tree23323a335733668cc2f7214905b7d27b8481282b /hmp.h
parentbef0fd5958120542f126f2dedbfce65d8839a94d (diff)
downloadqemu-e82dabd82e7a8ce0294bce829b3d2dd25eb3a514.tar.gz
qemu-e82dabd82e7a8ce0294bce829b3d2dd25eb3a514.tar.bz2
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 'hmp.h')
0 files changed, 0 insertions, 0 deletions