qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

iotests: fix 181: enable postcopy-ram capability on target

Migration capabilities should be enabled on both source and
destination qemu processes.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

authored by

Vladimir Sementsov-Ogievskiy and committed by
Kevin Wolf
69ff158b 3fb23e07

+2 -1
+2
tests/qemu-iotests/181
··· 93 93 94 94 # Slow down migration so much that it definitely won't finish before we can 95 95 # switch to postcopy 96 + # Enable postcopy-ram capability both on source and destination 96 97 silent=yes 98 + _send_qemu_cmd $dest 'migrate_set_capability postcopy-ram on' "(qemu)" 97 99 _send_qemu_cmd $src 'migrate_set_speed 4k' "(qemu)" 98 100 _send_qemu_cmd $src 'migrate_set_capability postcopy-ram on' "(qemu)" 99 101 _send_qemu_cmd $src "migrate -d unix:${MIG_SOCKET}" "(qemu)"
-1
tests/qemu-iotests/181.out
··· 20 20 21 21 === Do some I/O on the destination === 22 22 23 - QEMU X.Y.Z monitor - type 'help' for more information 24 23 (qemu) qemu-io disk "read -P 0x55 0 64k" 25 24 read 65536/65536 bytes at offset 0 26 25 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)