From: Kevin Wolf <kwolf@redhat.com>
To: Bug 726619 <726619@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 726619] [NEW] loadvm does not load (offline) snapshot anymore
Date: Tue, 01 Mar 2011 10:21:58 +0100 [thread overview]
Message-ID: <4D6CBAB6.80108@redhat.com> (raw)
In-Reply-To: <20110228160401.29334.5055.malonedeb@wampee.canonical.com>
Am 28.02.2011 17:04, schrieb Ralf Haferkamp:
> Public bug reported:
>
> qemu Version: 0.14.0
> The problem is present in the current code from git master as well.
>
> Loading a snapshot that was created while qemu was not running (using
> qemu-img) does not seem to work anymore.
Is there even a use case for this? While an OS is running, just silently
replacing the disk contents isn't going to work. And if you're rebooting
anyway, you can as well load the snapshot offline.
> Using "loadvm <snapshot-id>" in the qemu monitor does not have the
> desired effect. Not even an error message is displayed.
>
> I was able to track down the problem (using git bisect) to this commit:
> http://git.qemu.org/qemu.git/commit/?id=f0aa7a8b2d518c54430e4382309281b93e51981a
>
> After reverting that commit in my local git checkout everything is
> workin as expected again.
In fact, that commit only lets loadvm fail earlier. Before, loadvm would
have loaded all disk snapshots and then returned -EINVAL because there
was no VM state, now it fails immediately (the VM is stopped in both
cases because of the failure).
I think the correct fix is to add an error message.
Kevin
next prev parent reply other threads:[~2011-03-01 9:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-28 16:04 [Qemu-devel] [Bug 726619] [NEW] loadvm does not load (offline) snapshot anymore Ralf Haferkamp
2011-03-01 9:21 ` Kevin Wolf [this message]
2017-05-19 19:38 ` [Qemu-devel] [Bug 726619] " Thomas Huth
2017-07-19 4:17 ` Launchpad Bug Tracker
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=4D6CBAB6.80108@redhat.com \
--to=kwolf@redhat.com \
--cc=726619@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).