qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Gabriel Southern <gsouther@qti.qualcomm.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: Using loadvm with snapshot
Date: Tue, 17 Aug 2021 17:26:06 +0100	[thread overview]
Message-ID: <YRvjHiZmPkSuv//z@work-vm> (raw)
In-Reply-To: <BY5PR02MB7028431FD055B48DAD3841F7F7F99@BY5PR02MB7028.namprd02.prod.outlook.com>

* 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	other threads:[~2021-08-17 16:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-12  0:09 Gabriel Southern
2021-08-17 16:26 ` Dr. David Alan Gilbert [this message]
2021-08-17 18:48   ` Peter Maydell
2021-08-17 18:53     ` Dr. David Alan Gilbert
2021-08-24 15:20     ` Kevin Wolf
2021-08-24 15:25       ` Peter Maydell
2021-08-24 16:20         ` Kevin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YRvjHiZmPkSuv//z@work-vm \
    --to=dgilbert@redhat.com \
    --cc=gsouther@qti.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    --subject='Re: Using loadvm with snapshot' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).