]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Consolidate qemuMigrationPrepare{Direct,Tunnel}
authorJiri Denemark <jdenemar@redhat.com>
Mon, 13 Jun 2011 08:48:34 +0000 (10:48 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 12 Jul 2011 23:53:32 +0000 (01:53 +0200)
commit307656b48af2fb9f68bd444c0fea16396072027b
treefa71d283e534b70fa669b4bf61c89387a93f1647
parent5b2d0bbc4c9fe7fdf28dfa854e7c8adf8be55400
qemu: Consolidate qemuMigrationPrepare{Direct,Tunnel}

Most of the code in these two functions is supposed to be identical but
currently it isn't (which is natural since the code is duplicated).
Let's move common parts of these functions into qemuMigrationPrepareAny.

This also fixes qemuMigrationPrepareTunnel which didn't store received
lockState in the domain object.
src/qemu/qemu_migration.c