diff options
| author | Wenchao Xia | 2014-06-18 08:43:42 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2014-06-23 17:12:27 +0200 |
| commit | 99eaf09c73b213e32e297b1d08d035abb5b268e9 (patch) | |
| tree | 6b8448ab6a146460e890a4e973fda1f99703efd9 /qapi-schema.json | |
| parent | qapi event: convert RTC_CHANGE (diff) | |
| download | qemu-99eaf09c73b213e32e297b1d08d035abb5b268e9.tar.gz qemu-99eaf09c73b213e32e297b1d08d035abb5b268e9.tar.xz qemu-99eaf09c73b213e32e297b1d08d035abb5b268e9.zip | |
qapi event: convert WATCHDOG
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
| -rw-r--r-- | qapi-schema.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index e8c55e21a4..0bf5894f7e 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3347,4 +3347,28 @@ ## { 'command': 'query-acpi-ospm-status', 'returns': ['ACPIOSTInfo'] } +## +# @WatchdogExpirationAction +# +# An enumeration of the actions taken when the watchdog device's timer is +# expired +# +# @reset: system resets +# +# @shutdown: system shutdown, note that it is similar to @powerdown, which +# tries to set to system status and notify guest +# +# @poweroff: system poweroff, the emulator program exits +# +# @pause: system pauses, similar to @stop +# +# @debug: system enters debug state +# +# @none: nothing is done +# +# Since: 2.1 +## +{ 'enum': 'WatchdogExpirationAction', + 'data': [ 'reset', 'shutdown', 'poweroff', 'pause', 'debug', 'none' ] } + { 'include': 'qapi-event.json' } |
