qemu-e2k/hw/ide
Stefan Hajnoczi e82dabd82e 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>
2012-04-19 16:03:27 +02:00
..
ahci.c Add missing const attributes for MemoryRegionOps 2012-03-11 11:40:15 +00:00
ahci.h
atapi.c block: Don't call bdrv_eject() if the tray state didn't change 2012-02-22 17:23:21 -02:00
cmd646.c Add missing const attributes for MemoryRegionOps 2012-03-11 11:40:15 +00:00
core.c ide: convert ide_sector_write() to asynchronous I/O 2012-04-19 16:03:27 +02:00
ich.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
internal.h ide: convert ide_sector_read() to asynchronous I/O 2012-04-19 16:03:27 +02:00
isa.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
macio.c Use DMADirection type for dma_bdrv_io 2012-04-05 14:54:40 +02:00
microdrive.c
mmio.c
pci.c ide: fix compilation errors when DEBUG_IDE is set 2012-02-10 10:44:52 +00:00
pci.h
piix.c Add missing const attributes for MemoryRegionOps 2012-03-11 11:40:15 +00:00
qdev.c ide: Adds wwn=hex qdev option 2012-04-05 14:54:39 +02:00
via.c Add missing const attributes for MemoryRegionOps 2012-03-11 11:40:15 +00:00