aboutsummaryrefslogtreecommitdiffstats
path: root/android/cmdline-options.h
diff options
context:
space:
mode:
authorTim Baverstock <weasel@google.com>2010-11-25 11:37:43 +0000
committerTim Baverstock <weasel@google.com>2010-12-01 15:30:17 +0000
commit24204cc964cf7d56b1a20c12ece08eecab1093fa (patch)
treed3bd4ba41ced09ca22f3129daebb17963dde96b2 /android/cmdline-options.h
parent68235cf4e8f11c0f1abe78ec07921957ba5c3956 (diff)
downloadexternal_qemu-24204cc964cf7d56b1a20c12ece08eecab1093fa.zip
external_qemu-24204cc964cf7d56b1a20c12ece08eecab1093fa.tar.gz
external_qemu-24204cc964cf7d56b1a20c12ece08eecab1093fa.tar.bz2
Augment the auto-loadvm behaviour with corresponding auto-savevm-on-exit behaviour.
Autosave fires when loadvm would have been tried - whether it succeeded or not - in order to bootstrap from an empty snapshot file. - New autosave behaviour inhibited with -no_snapshot_save flag. - Underlying behaviour implemented with a new qemu option -savevm_on_exit Change-Id: If64d89f004565ecbb431bc7e96ecc37e27876d67
Diffstat (limited to 'android/cmdline-options.h')
-rw-r--r--android/cmdline-options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/cmdline-options.h b/android/cmdline-options.h
index 1ae3121..3aaa478 100644
--- a/android/cmdline-options.h
+++ b/android/cmdline-options.h
@@ -81,6 +81,7 @@ OPT_PARAM( snapstorage, "<file>", "file that contains all state snapshots (de
OPT_FLAG ( no_snapstorage, "do not mount a snapshot storage file (this disables all snapshot functionality)" )
OPT_PARAM( snapshot, "<name>", "immediately load state snapshot rather than doing a full boot (default 'default-boot')" )
OPT_FLAG ( no_snapshot, "do not start from snapshot, but perform a full boot sequence" )
+OPT_FLAG ( no_snapshot_save, "do not preserve snapshot, if restore was attempted" )
OPT_FLAG ( snapshot_list, "show a list of available snapshots" )
#endif
OPT_FLAG ( wipe_data, "reset the use data image (copy it from initdata)" )