• E
    snapshot: improve reverting to qemu paused snapshots · 88fe7a4b
    Eric Blake 提交于
    If you take a checkpoint snapshot of a running domain, then pause
    qemu, then restore the snapshot, the result should be a running
    domain, but the code was leaving things paused.  Furthermore, if
    you take a checkpoint of a paused domain, then run, then restore,
    there was a brief but non-deterministic window of time where the
    domain was running rather than paused.  Fix both of these
    discrepancies by always pausing before restoring.
    
    Also, check that the VM is active every time lock is dropped
    between two monitor calls.
    
    Finally, straighten out the events that get emitted on each
    transition.
    
    * src/qemu/qemu_driver.c (qemuDomainRevertToSnapshot): Always
    pause before reversion, and improve events.
    88fe7a4b
qemu_driver.c 300.8 KB