The test case depends on the qemu-io series I sent yesterday. ("[PATCH 00/16] Make qemu-io commands available in the monitor")
Andreas Färber (1): ide: Set BSY bit during FLUSH Kevin Wolf (2): blkdebug: Add BLKDBG_FLUSH_TO_OS/DISK events ide-test: Add FLUSH CACHE test case block.c | 8 ++++---- block/blkdebug.c | 3 +++ hw/ide/core.c | 3 +++ include/block/block.h | 3 +++ tests/ide-test.c | 40 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 53 insertions(+), 4 deletions(-) -- 1.8.1.4