Load non-icount snapshot
Closed this issue · 5 comments
branylagaffe commented
Load non-icount snapshot with icount
enabled
Description
QEMU does not allow for block device snapshot made with icount
disabled to be loaded when icount
is enabled
Steps to Reproduce
- Boot any type of image
- save snapshot using the monitor
savevm [name]
- quit
- start new QEMU instance with '-icount
and
loadvm [name]`
Expected Behavior
Qemu initial check when loading a checkpoint should be discarded
Additional Information
- QEMU Version/Branch: 8.2.2, master
- Target Architecture:
arm64
branylagaffe commented
@ayanchak1508 @xusine Can you either open a PR regarding this (referencing this issue) or post the patch here ??
branylagaffe commented
After discussion, if the icount can be inferred from a snapshot, this should be used to decide whether icount is zeroed or not.
branylagaffe commented
For documentation, @BugraEryilmaz @xusine, what side effects does it induce, if any ?
BugraEryilmaz commented
It cannot load icount-enabled snapshots that were created previously I think