• J
    qemu: Don't use query-migrate on destination · 56258a38
    Jiri Denemark 提交于
    When migration fails, we need to poke QEMU monitor to check for a reason
    of the failure. We did this using query-migrate QMP command, which is
    not supposed to return any meaningful result on the destination side.
    Thus if the monitor was still functional when we detected the migration
    failure, parsing the answer from query-migrate always failed with the
    following error message:
    
        "info migration reply was missing return status"
    
    This irrelevant message was then used as the reason for the migration
    failure replacing any message we might have had.
    
    Let's use harmless query-status for poking the monitor to make sure we
    only get an error if the monitor connection is broken.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1374613Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
    56258a38
qemu_domain.c 188.3 KB