vl: deprecate -watchdog
commitd12b64eaebd9f0df03c70422336c669a44ed2937
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 Oct 2021 12:48:03 +0000 (27 14:48 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Nov 2021 14:57:27 +0000 (2 15:57 +0100)
tree732a49ded39a841a429780289d7ecf1890c9952a
parentb10cb627526a19df97b56ac42381ad1104297d16
vl: deprecate -watchdog

-watchdog is the same as -device except that it is case insensitive (and it
allows only watchdog devices of course).  Now that "-device help" can list
as such the available watchdog devices, we can deprecate it.

Note that even though -watchdog tries to be case insensitive, it fails
at that: "-watchdog i6300xyz" fails with "Unknown -watchdog device",
but "-watchdog i6300ESB" also fails (when the generated -device option
is processed) with an error "'i6300ESB' is not a valid device model name".
For this reason, the documentation update does not mention the case
insensitivity of -watchdog.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/about/deprecated.rst
softmmu/vl.c