]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add support for offline migration
authorliguang <lig.fnst@cn.fujitsu.com>
Wed, 21 Nov 2012 08:28:49 +0000 (16:28 +0800)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 10 Dec 2012 20:52:15 +0000 (21:52 +0100)
commit8b9bf7879b40769694d38f1bbf7b976165a830e8
tree611bfb8ddee3d3eb4a030574ab2f6bf7ec5d23a7
parente5577872cba7f88305e9e0b1ee26b37b4be790df
Add support for offline migration

Offline migration transfers inactive definition of a domain (which may
or may not be active). After successful completion, the domain remains
in its current state on source host and is defined but inactive on
destination host. It's a bit more clever than virDomainGetXMLDesc() on
source host followed by virDomainDefineXML() on destination host, as
offline migration will run pre-migration hook to update the domain XML
on destination host. Currently, copying non-shared storage is not
supported during offline migration.

Offline migration can be requested with a new migration flag called
VIR_MIGRATE_OFFLINE (which has to be combined with
VIR_MIGRATE_PERSIST_DEST flag).
include/libvirt/libvirt.h.in
src/libvirt.c
src/libvirt_internal.h
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_migration.h
tools/virsh-domain.c
tools/virsh.pod