qtest/ahci: add migrate dma test
commit88e21f9485f0a41603f0af3483ff3f11c95979ab
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)
tree113b04dd04a79d5b7cd849a2606105e51bfe4144
parent278128ab06c36341edb2c8b0bfcfd92760f4db52
qtest/ahci: add migrate dma test

Write to one guest, migrate, and then read from the other.
adjust ahci_io to clear any buffers it creates, so that we
can use ahci_io safely on both guests knowing we are using
empty buffers and not accidentally re-using data.

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