• J
    qemu: Use -incoming defer for migrations · 2c4ba8b4
    Jiri Denemark 提交于
    Traditionally, we pass incoming migration URI on QEMU command line,
    which has some drawbacks. Depending on the URI QEMU may initialize its
    migration state immediately without giving us a chance to set any
    additional migration parameters (this applies mainly for fd: URIs). For
    some URIs the monitor may be completely blocked from the beginning until
    migration is finished, which means we may be stuck in qmp_capabilities
    command without being able to send any QMP commands.
    
    QEMU solved this by introducing "defer" parameter for -incoming command
    line option. This will tell QEMU to prepare for an incoming migration
    while the actual incoming URI is sent using migrate-incoming QMP
    command. Before calling this command we can normally talk to the
    monitor and even set any migration parameters which will be honored by
    the incoming migration.
    Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
    2c4ba8b4
qemu_process.h 5.4 KB