tests: introduce migrate_postcopy_* helpers
commitd131662a1afd44ffd0ced3334fa0cf1f30f87196
authorPeter Xu <peterx@redhat.com>
Tue, 10 Jul 2018 09:18:57 +0000 (10 17:18 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 10 Jul 2018 14:17:40 +0000 (10 15:17 +0100)
tree695acca5aecdfee313adc28d2a115c15446f6d2e
parent3c9928d9f9b6b5717fa8e53e9441c6b041d6554a
tests: introduce migrate_postcopy_* helpers

Separate the old postcopy UNIX socket test into three steps, provide a
helper for each step.  With these helpers, we can do more compliated
tests like postcopy recovery, while keep the codes shared.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Balamuruhan S <bala24@linux.vnet.ibm.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180710091902.28780-6-peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  Fix up merge with 2e295789 / Skip tests for ppc tcg
tests/migration-test.c