summary refs log tree commit diff stats
path: root/hw/intc
diff options
context:
space:
mode:
authorEvgeny Yakovlev <eyakovlev@virtuozzo.com>2016-07-18 22:39:51 +0300
committerJohn Snow <jsnow@redhat.com>2016-07-18 18:19:01 -0400
commit2dd7e10d7c6ec6edbe610345cadd6ec82ee3e65f (patch)
tree0111cd8e3dafc516f9e9354aa96b4fda792b788d /hw/intc
parent35f78ab469b1d4ea4ff7ad4ffa997ae9ad3d4120 (diff)
downloadfocaccia-qemu-2dd7e10d7c6ec6edbe610345cadd6ec82ee3e65f.tar.gz
focaccia-qemu-2dd7e10d7c6ec6edbe610345cadd6ec82ee3e65f.zip
tests: in IDE and AHCI tests perform DMA write before flushing
Due to changes in flush behaviour clean disks stopped generating
flush_to_disk events and IDE and AHCI tests that test flush commands
started to fail.

This change adds additional DMA writes to affected tests before sending
flush commands so that bdrv_flush actually generates flush_to_disk event.

Signed-off-by: Evgeny Yakovlev <eyakovlev@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1468870792-7411-4-git-send-email-den@openvz.org
CC: Kevin Wolf <kwolf@redhat.com>
CC: Max Reitz <mreitz@redhat.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Fam Zheng <famz@redhat.com>
CC: John Snow <jsnow@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions