]> xenbits.xensource.com Git - libvirt.git/commit
fix api changes in xen restore
authorBamvor Jian Zhang <bjzhang@suse.com>
Fri, 1 Nov 2013 07:26:26 +0000 (15:26 +0800)
committerJim Fehlig <jfehlig@suse.com>
Fri, 1 Nov 2013 14:10:48 +0000 (08:10 -0600)
commita52fa5569a90bc0e732e923da34d8b2aec68d751
tree1e4d17c9621d6f055d716092f874a924cef57b9c
parent89759301dea870ee80f2ca74751db589e8f7b593
fix api changes in xen restore

in recently xen commit: 7051d5c8, there is a api changes in
libxl_domain_create_restore.
Author: Andrew Cooper <andrew.cooper3@citrix.com>
Date:   Thu Oct 10 12:23:10 2013 +0100

    tools/migrate: Fix regression when migrating from older version of Xen

use the macro LIBXL_HAVE_DOMAIN_CREATE_RESTORE_PARAMS in libxl.h
in order to make libvirt could compile with old and new xen.

the params checkpointed_stream is useful if libvirt libxl driver
support migration. for new, set it as zero.

Signed-off-by: Bamvor Jian Zhang <bjzhang@suse.com>
src/libxl/libxl_driver.c