* Peter Maydell (peter.mayd...@linaro.org) wrote: > On Tue, 17 Aug 2021 at 17:27, Dr. David Alan Gilbert > <dgilb...@redhat.com> wrote: > > > > * Gabriel Southern (gsout...@qti.qualcomm.com) wrote: > > > Hi, > > > > > > Are there plans to support using -loadvm with -snapshot? > > > > > > I saw some past discussion on mailing list including bug that was closed > > > earlier this year but no recent activity: > > > > > > https://lore.kernel.org/qemu-devel/162424905685.11837.7303570061857383641.mal...@loganberry.canonical.com/ > > > > > > Testing with latest qemu it looks like -loadvm still does not work when > > > combined with -snapshot. > > > > > > I'm curious how complex it would be to implement this feature and if it > > > may show up on QEMU roadmap in the future. Or if there is alterative > > > command that can be used to save the state of a running VM and then use > > > the same qcow to run multiple QEMU instances loading this VM state > > > running in snapshot mode. > > Do you know why -loadvm and -snapshot don't work together? > It doesn't on the face of it seem like they would be incompatible...
No I don't; I've never actually used -loadvm - given that both the snapshot mechanism and the load/savevm mechanism are fairly special qcow2 hacks, it'll be a qcow2 level thing. Dave > -- PMM > -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK