]> git.ipfire.org Git - thirdparty/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)
committerCole Robinson <crobinso@redhat.com>
Mon, 8 Sep 2014 16:47:06 +0000 (12:47 -0400)
commita3d4103c9aa2ff55c934557ee681ad8cd4d8a3f4
treeb3bec32d08d9b13fd557b45702de18d9bde06be1
parentb7dc07bade3ed3559ecf3bfc3e15628ec7b83d1f
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>
(cherry picked from commit a52fa5569a90bc0e732e923da34d8b2aec68d751)
src/libxl/libxl_driver.c