Ticket #6460 (closed defect: wontfix)
Can't start a previously saved VM after replacing CPU, even when the new one is perfectly compatible
|Reported by:||durval||Owned by:|
|Version:||VirtualBox 3.0.12||Keywords:||CPU change, saved VM restart|
Description (last modified by frank) (diff)
After replacing my computer's motherboard and CPU (because the old ones died), I can't start any previously saved VMs; even discarding the current state doesn't help if the last snapshot was made with the machine running; seems discarding the full snapshot would be needed to be able to start this VM again.
Previous motherboard, CPU: Aopen i975AX-YDG, Intel Merom T5600 Replacement motherboard, CPU: Intel S3210SHLC, Intel Yorkfield Q9550 O/S: Ubuntu Hardy 8.04 LTS, all updates applied. VBox: 3.0.12 r54655 PUEL, downloaded directly from http://www.virtualbox.org/wiki/Downloads
1) Quick workaround: just tell me where I can poke on the .sav file with a binary editor so I can change VBox' idea of the old CPU to be exactly equal to the new one and so try to bypass the trouble, or else how can I restart this VM by booting it (as the snapshot was made with the machine running, it seems I have no way to simply reboot it from the snapshotted disk, or at least I can't find it in the GUI).
2) "Definitive" solution: make the "CPU checking" logic smarter so that when moving to a newer CPU that's a "proper superset" of the old one (i.e, has everything the old one has), it won't refuse to run the saved state from the old one.
3) Perhaps an even better (and easier to implement) solution: when VBox detects that the CPU has changed, instead of refusing to run the saved state just prompt the user with a dialog box where he/she is warned that the CPU has changed, and that it's possible that the saved machine won't run properly; then, offer the user the option to continue at hos/her own risk, or to abort the run.
For other cases and background, please see this VBox forum topic: http://forums.virtualbox.org/viewtopic.php?f=6&t=28750, specially my 2 posts at http://forums.virtualbox.org/viewtopic.php?f=6&t=28750#p131230 and http://forums.virtualbox.org/viewtopic.php?f=6&t=28750#p131233