Migration via unix sockets.
authorChris Lalancette <clalance@redhat.com>
Wed, 5 Aug 2009 15:24:29 +0000 (17:24 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 24 Aug 2009 13:01:42 +0000 (08:01 -0500)
commit0cc5ba790657e7aa32da10b7181ffcc990634fd3
tree33116b194215a2e693e732eb02aefd37fb373557
parent868c31557166b897101ff5056f39feaa5bfde95c
Migration via unix sockets.

Implement migration via unix sockets.  While you can fake this using
exec and netcat, this involves forking another process and is
generally not very nice.  By doing this directly in qemu, we can avoid
the copy through the external nc command.  This is useful for
implementations (such as libvirt) that want to do "secure" migration;
we pipe the data on the sending side into the unix socket, libvirt
picks it up, encrypts it, and transports it, and then on the remote
side libvirt decrypts it, dumps it to another unix socket, and
feeds it into qemu.

The implementation is straightforward and looks very similar to
migration-exec.c and migration-tcp.c

Signed-off-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile
migration-unix.c [new file with mode: 0644]
migration.c
migration.h