qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using loadvm with snapshot


From: Dr. David Alan Gilbert
Subject: Re: Using loadvm with snapshot
Date: Tue, 17 Aug 2021 17:26:06 +0100
User-agent: Mutt/2.0.7 (2021-05-04)

* Gabriel Southern (gsouther@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.malone@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.

One thing that might work for you is migrate to a file;

 (qemu)  migrate_set_parameter max-bandwidth 100G
 (qemu) migrate "exec:cat > myfile.mig"
 (qemu) q


qemu -incoming "exec:cat myfile.mig"

Dave
> 
> Thanks,
> 
> -Gabriel
> 
-- 
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK




reply via email to

[Prev in Thread] Current Thread [Next in Thread]