« Previous | Next » 

Revision e82dabd8

IDe82dabd82e7a8ce0294bce829b3d2dd25eb3a514

Added by Stefan Hajnoczi about 12 years ago

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 <>
Reviewed-by: Paolo Bonzini <>
Reviewed-by: Zhi Yong Wu <>
Tested-by: Richard Davies <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences