• M
    qemu: Set migration FD blocking · ceb31795
    Michal Privoznik 提交于
    Since we switched from direct host migration scheme to the one,
    where we connect to the destination and then just pass a FD to a
    qemu, we have uncovered a qemu bug. Qemu expects migration FD to
    block. However, we are passing a nonblocking one which results in
    cryptic error messages like:
    
      qemu: warning: error while loading state section id 2
      load of migration failed
    
    The bug is already known to Qemu folks, but we should workaround
    already released Qemus. Patch has been originally proposed by Stefan
    Hajnoczi <stefanha@gmail.com>
    ceb31795
qemu_migration.c 142.3 KB