Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Li Zhi Hui <zhihu...@linux.vnet.ibm.com>
Before v5 version, Although use bdrv_aio_* to replace bdrv_* functions, But In the process of processing data, only call the bdrv_dio_* one time, it will not really simulate floppy disk's reading and writing. In v6 version each read and write all you need to call bdrv_aio_*. All these patches were done under paolo's advice and guidance, Thank him very much! hw/dma.c | 80 +++++++++----- hw/fdc.c | 333 ++++++++++++++++++++++++++++++++++++++++------------------ hw/isa.h | 2 + hw/sun4m.c | 3 + hw/sun4u.c | 3 + trace-events | 8 ++ 6 files changed, 296 insertions(+), 133 deletions(-) -- 1.7.4.1