loadvm does not load (offline) snapshot anymore
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.
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.
** Affects: qemu
Importance: Undecided
Status: New
Signature · 25 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/726619 Title: loadvm does not load (offline) snapshot anymore Status in QEMU: New Bug description: 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. 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.
Am 28.02.2011 17:04, schrieb Ralf Haferkamp:
Quoted 7 lines
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.
Quoted 8 lines
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=f0aa7a8b2d518c54430e4382309281b93e51981aAfter 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
Triaging old bug tickets ... can you somehow still reproduce this problem with the latest version of QEMU (currently v2.9), or could we close this ticket nowadays?
** Changed in: qemu
Status: New => Incomplete
Signature · 28 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/726619 Title: loadvm does not load (offline) snapshot anymore Status in QEMU: Incomplete Bug description: 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/726619/+subscriptions
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
Signature · 28 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/726619 Title: loadvm does not load (offline) snapshot anymore Status in QEMU: Expired Bug description: 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. 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. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/726619/+subscriptions