4b480d1 qemu: process: Refresh data from qemu monitor after migration

Authored and Committed by Peter Krempa 6 years ago
    qemu: process: Refresh data from qemu monitor after migration
    
    Some values we read from the qemu monitor may be changed with the actual
    state by the incoming migration. This means that we should refresh
    certain things only after the migration has finished.
    
    This is mostly visible in the cdrom tray state, which is by default
    closed but may be opened by the guest OS. This would be refreshed before
    qemu transferred the actual state and thus libvirt would think that the
    tray is closed.
    
    Note that this patch moves only a few obvious query commands. Others may
    be moved later after individual assessment.
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1463168
    
        
file modified
+38 -16