Re: [libvirt PATCH 6/7] qemu_snapshot: correctly load the saved memory state file

2023-09-01 Thread Peter Krempa
On Thu, Aug 31, 2023 at 16:55:05 +0200, Pavel Hrdina wrote: > Original code assumed that the memory state file is only migration > stream but it has additional metadata stored by libvirt. To correctly > load the memory state file we need to reuse code that is used when > restoring domain from saved

Re: [libvirt PATCH 6/7] qemu_snapshot: correctly load the saved memory state file

2023-08-31 Thread Peter Krempa
On Thu, Aug 31, 2023 at 16:55:05 +0200, Pavel Hrdina wrote: > Original code assumed that the memory state file is only migration > stream but it has additional metadata stored by libvirt. To correctly > load the memory state file we need to reuse code that is used when > restoring domain from saved

[libvirt PATCH 6/7] qemu_snapshot: correctly load the saved memory state file

2023-08-31 Thread Pavel Hrdina
Original code assumed that the memory state file is only migration stream but it has additional metadata stored by libvirt. To correctly load the memory state file we need to reuse code that is used when restoring domain from saved image. Signed-off-by: Pavel Hrdina --- src/qemu/qemu_snapshot.c