Skip to content
  • Chris Lalancette's avatar
    Migration via unix sockets. · 4951f65b
    Chris Lalancette authored
    
    
    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: default avatarChris Lalancette <clalance@redhat.com>
    Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
    4951f65b