]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Make qemuMigrationIsAllowed more reusable
authorPeter Krempa <pkrempa@redhat.com>
Fri, 7 Dec 2012 10:59:24 +0000 (11:59 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 11 Dec 2012 18:48:37 +0000 (19:48 +0100)
commite5d3ab5e218b4e7a19a59ec1f250dbff315cce5a
tree4c861532aeff1f09ca79f1e5ca1b8c96b7a998be
parent6543a459ef1e8af408beb697bf768abacf0b9200
qemu: Make qemuMigrationIsAllowed more reusable

This patch exports qemuMigrationIsAllowed and adds a new parameter to it
to denote if it's a remote migration or a local migration. Local
migrations are used in snapshots and saving of the machine state and
have fewer restrictions. This patch also adjusts callers of the function
and tweaks some error messages to be more universal.
src/qemu/qemu_migration.c
src/qemu/qemu_migration.h