]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add support for unsafe migration
authorJiri Denemark <jdenemar@redhat.com>
Mon, 20 Feb 2012 08:16:23 +0000 (09:16 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 22 Feb 2012 13:52:24 +0000 (14:52 +0100)
commit7808844dd162007fafa2f465823ef83adf7ccd6c
treeb678bb37a74bbebf8e592101c0532d47ff0761b1
parent2b38e59bd8273f9635e63968c2040860e3be2972
Add support for unsafe migration

This patch adds VIR_MIGRATE_UNSAFE flag for migration APIs and new
VIR_ERR_MIGRATION_UNSAFE error code.  The error code should be returned
whenever migrating a domain is considered unsafe (e.g., it's configured
in a way that does not ensure data integrity once it is migrated).
VIR_MIGRATE_UNSAFE flag may be used to force migration even though it
would normally be considered unsafe and forbidden.
include/libvirt/libvirt.h.in
include/libvirt/virterror.h
src/libvirt.c
src/util/virterror.c