qtest/ahci: add flush migrate test
commita606ce50c29561b567995ab663cbb40067623e82
authorJohn Snow <jsnow@redhat.com>
Fri, 22 May 2015 18:13:43 +0000 (22 14:13 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 22 May 2015 19:58:22 +0000 (22 15:58 -0400)
tree2ba69c87799da703c67ee9b58195ecfcc3775150
parent88e21f9485f0a41603f0af3483ff3f11c95979ab
qtest/ahci: add flush migrate test

Use blkdebug to inject an error on first flush, then attempt to flush
on the first guest. When the error halts the VM, migrate to the
second VM, and attempt to resume the command.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1430417242-11859-8-git-send-email-jsnow@redhat.com
tests/ahci-test.c