]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Move all the QEMU migration code to a new file
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 31 Jan 2011 10:47:03 +0000 (10:47 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 17 Feb 2011 12:56:10 +0000 (12:56 +0000)
commit766de43533b7ae2406804e92e83e3ad67df6495d
treeee27d64580cf6c8e5ba7d59130a41e51ed67aab0
parent48c2d6c65bc28da5d239bf8e356b0507515bd1a2
Move all the QEMU migration code to a new file

The introduction of the v3 migration protocol, along with
support for migration cookies, will significantly expand
the size of the migration code. Move it all to a separate
file to make it more manageable

The functions are not moved 100%. The API entry points
remain in the main QEMU driver, but once the public
virDomainPtr is resolved to the internal virDomainObjPtr,
all following code is moved.

This will allow the new v3 API entry points to call into the
same shared internal migration functions

* src/qemu/qemu_domain.c, src/qemu/qemu_domain.h: Add
  qemuDomainFormatXML helper method
* src/qemu/qemu_driver.c: Remove all migration code
* src/qemu/qemu_migration.c, src/qemu/qemu_migration.h: Add
  all migration code.
po/POTFILES.in
src/Makefile.am
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c [new file with mode: 0644]
src/qemu/qemu_migration.h [new file with mode: 0644]