diff options
author | Tim Baverstock <weasel@google.com> | 2010-11-25 11:37:43 +0000 |
---|---|---|
committer | Tim Baverstock <weasel@google.com> | 2010-12-01 15:30:17 +0000 |
commit | 24204cc964cf7d56b1a20c12ece08eecab1093fa (patch) | |
tree | d3bd4ba41ced09ca22f3129daebb17963dde96b2 /qemu-options.hx | |
parent | 68235cf4e8f11c0f1abe78ec07921957ba5c3956 (diff) | |
download | external_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 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index 44443bc..aee7b6b 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1600,6 +1600,14 @@ DEF("nand", HAS_ARG, QEMU_OPTION_nand, \ #if 1 /* ANDROID */ +DEF("savevm-on-exit", HAS_ARG, QEMU_OPTION_savevm_on_exit, \ + "savevm-on-exit [tag|id]\n" \ + " save state automatically on exit\n") +STEXI +@item -savevm-on-exit @var{file} +Save state automatically on exit (as @code{savevm} in monitor) +ETEXI + DEF("mic", HAS_ARG, QEMU_OPTION_mic, \ "-mic <file> read audio input from wav file\n") |