aboutsummaryrefslogtreecommitdiffstats
path: root/android/snaphost-android.c
Commit message (Collapse)AuthorAgeFilesLines
* Check for data partition init path on snapshot load.Vladimir Chtchetkine2012-01-191-0/+8
| | | | | | | | Makes sure that snapshots are not loaded if data partition for which the snapshot has been saved is overwritten (with -wipe-data option for example). We want the loaded snapshot to be consistent with the data underneath it. Change-Id: I605c9b5a66870aad76ffd97d641a08c75730de7f
* Respect HW configs when loading VM from snapshots.Vladimir Chtchetkine2012-01-131-0/+180
Changing HW configuration properties may cause emulator / guest system crash on condition that VM has been loaded from a snapshot. This CL addresses this issue in the following way: 1. Each time a snapshot is saved, a backup copy of HW config is saved with it. 2. Each time a snapshot is loaded, emulator finds an appropriate HW config backup, and compares current HW config with the one that was saved in the backup, and if configs are different, emulator exits with an appropriate error. Change-Id: I730bec0afbe166e88189fdcc4804b76e109e4422