OSDN Git Service

iotests: add dirty bitmap postcopy test
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 13 Mar 2018 19:34:01 +0000 (15:34 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 13 Mar 2018 21:06:32 +0000 (17:06 -0400)
commitac8bd439bb7b5dffeb5ff8a17317ca2b192044b6
tree51db39da39a81d074845277f2878bc00e6e6400b
parent33dac6f343dbea77550d5017ef4f8e1a2594194d
iotests: add dirty bitmap postcopy test

Test
- start two vms (vm_a, vm_b)

- in a
    - do writes from set A
    - do writes from set B
    - fix bitmap sha256
    - clear bitmap
    - do writes from set A
    - start migration
- than, in b
    - wait vm start (postcopy should start)
    - do writes from set B
    - check bitmap sha256

The test should verify postcopy migration and then merging with delta
(changes in target, during postcopy process).

Reduce supported cache modes to only 'none', because with cache on time
from source.STOP to target.RESUME is unpredictable and we can fail with
timout while waiting for target.RESUME.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20180313180320.339796-14-vsementsov@virtuozzo.com
tests/qemu-iotests/199 [new file with mode: 0755]
tests/qemu-iotests/199.out [new file with mode: 0644]
tests/qemu-iotests/group
tests/qemu-iotests/iotests.py