Am 03.04.2012 13:56, schrieb Zhi Hui Li: > On 2012年04月02日 20:07, Stefan Hajnoczi wrote: >> On Sat, Mar 31, 2012 at 09:15:10PM +0800, Li Zhi Hui wrote: >>> Replace bdrv_* to bdrv_aio_* functions in pio mode in fdc.c. >>> >>> Signed-off-by: Li Zhi Hui<zhihu...@linux.vnet.ibm.com> >>> --- >>> hw/fdc.c | 123 >>> +++++++++++++++++++++++++++++++++++++++++++++----------------- >>> 1 files changed, 89 insertions(+), 34 deletions(-) >> >> How can I test this patch? >> >> Stefan >> > > sorry, I don't find a good way to test it directly. > > but I have read the datasheet of floppy, I modify it according to the > datasheet.
How about adding some qtest-based test cases for floppy? It's one of the devices that I usually don't test manually, so having an automated test would be good anyway. Kevin