Skip to content
Snippets Groups Projects
user avatar
Stefan Hajnoczi authored
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: default avatarStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Reviewed-by: default avatarZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Tested-by: default avatarRichard Davies <richard@arachsys.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
e82dabd8
History
Name Last commit Last update