libxc/migration: Abort migration on precopy policy request
authorAndrew Panyakin <apanyaki@amazon.com>
Tue, 7 Apr 2020 14:52:22 +0000 (14:52 +0000)
committerWei Liu <wl@xen.org>
Thu, 9 Apr 2020 14:43:18 +0000 (15:43 +0100)
commit69f741347d9718b470fe29c012b7a2622249b709
tree157154489d4c7c54f4cb75e68e7715a229f03f28
parent9be0b2747bc7381c684cfbdd3fa2e40badefbeef
libxc/migration: Abort migration on precopy policy request

libxc defines XGS_POLICY_ABORT for precopy policy to signal that migration
should be aborted (eg. if the estimated pause time is too huge for the
instance). Default simple precopy policy never returns that, but it could be
overriden with a custom one.

Signed-off-by: Andrew Panyakin <apanyaki@amazon.com>
Acked-by: Wei Liu <wl@xen.org>
[wei: fix coding style issue]
tools/libxc/xc_sr_save.c