diff options
author | Alejandro Jimenez | 2020-12-11 17:52:41 +0100 |
---|---|---|
committer | Paolo Bonzini | 2020-12-15 18:51:58 +0100 |
commit | 2a5ad60b5406daca3658f2a6735318615ee6a116 (patch) | |
tree | 5266ea57f65b64dd639e169110611ff6624a7651 /include | |
parent | qmp: generalize watchdog-set-action to -no-reboot/-no-shutdown (diff) | |
download | qemu-2a5ad60b5406daca3658f2a6735318615ee6a116.tar.gz qemu-2a5ad60b5406daca3658f2a6735318615ee6a116.tar.xz qemu-2a5ad60b5406daca3658f2a6735318615ee6a116.zip |
vl: Add an -action option specifying response to guest events
Several command line options currently in use are meant to modify
the behavior of QEMU in response to certain guest events like:
-no-reboot, -no-shutdown, -watchdog-action.
These can be grouped into a single option of the form:
-action event=action
Which can be used to specify the existing options above in the
following format:
-action reboot=none|shutdown
-action shutdown=poweroff|pause
-action watchdog=reset|shutdown|poweroff|pause|debug|none|inject-nmi
This is done in preparation for adding yet another option of this
type, which modifies the QEMU behavior when a guest panic occurs.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Message-Id: <1607705564-26264-2-git-send-email-alejandro.j.jimenez@oracle.com>
[Use QemuOpts help support, invoke QMP command. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions