c7d7ba8 qemu: command: Align memory sizes only on fresh starts

Authored and Committed by Peter Krempa 8 years ago
    qemu: command: Align memory sizes only on fresh starts
    
    When we are starting a qemu process for an incomming migration or
    snapshot reloading we should not modify the memory sizes in the domain
    since we could potentially change the guest ABI that was tediously
    checked before. Additionally the function now updates the initial memory
    size according to the NUMA node size, which should not happen if we are
    restoring state.
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1252685
    
        
file modified
+2 -1