On Mon, Sep 18, 2023 at 15:29:17 +0200, Pavel Hrdina wrote: > This fixes reverting external snapshots to not error out in cases where > it should work and makes it correctly load the memory state when > reverting to snapshot of running VM. > > This discards v2 completely and makes changes to v1: > > - moves qemuSaveImageStartProcess to qemu_process as > qemuProcessStartWithMemoryState > > - change it to use cookie from memory state file instead of > using cookie from snapshot xml > > - comments improvements > > - introduces new helpers to start and stop decompression process > > - reintroduces <externalSnapshot/> capability > > Pavel Hrdina (10): > qemu_saveimage: extract starting process to qemuSaveImageStartProcess > qemu_saveimage: introduce helpers to decompress memory state file > qemu_saveimage: move qemuSaveImageStartProcess to qemu_process > qemuProcessStartWithMemoryState: allow setting reason for audit log > qemuProcessStartWithMemoryState: add snapshot argument > qemuProcessStartWithMemoryState: make it possible to use without data > qemu_snapshot: fix reverting external snapshot when not all disks are > included > qemu_snapshot: correctly load the saved memory state file > capabilities: report full external snapshot support > NEWS: document support for reverting external snapshots Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>