]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: support VIR_MIGRATE_PERSIST_DEST migration flag
authorJim Fehlig <jfehlig@suse.com>
Mon, 19 Sep 2016 17:34:34 +0000 (11:34 -0600)
committerJim Fehlig <jfehlig@suse.com>
Wed, 21 Sep 2016 21:42:41 +0000 (15:42 -0600)
commit1fc90ae934b8b05e02ffc47cb79f181d9e5ece69
treef7b57ff05db3a1b5bff81ab7e5a7350a72b1dabb
parent53e3f69b3c3a7764a1a123dea1bf15391256d365
libxl: support VIR_MIGRATE_PERSIST_DEST migration flag

By default, virt-manager (and likely other libvirt-based apps) sets
the VIR_MIGRATE_PERSIST_DEST flag when invoking the migrate API, which
fails in a Xen setup since the libxl driver does not support the flag.

Persisting a domain is a trivial task in the grand scheme of migration,
so be nice to libvirt apps and add support for VIR_MIGRATE_PERSIST_DEST
in the libxl driver.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_migration.c
src/libxl/libxl_migration.h