ui: Mark the '-no-quit' option as deprecated
commitb6ddc6a2b2b8c32dc2db12d5848eadde10e30136
authorThomas Huth <thuth@redhat.com>
Wed, 30 Jun 2021 16:32:30 +0000 (30 18:32 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Jul 2021 17:21:07 +0000 (5 19:21 +0200)
treef043b95f2c13d77d0a6df8aeec171c40359b0b86
parentbb20b86db9acb7a6f653fd40c45d46a9df6b2a75
ui: Mark the '-no-quit' option as deprecated

It's just a wrapper around the -display ...,window-close=off parameter,
and the name "no-quit" is rather confusing compared to "window-close"
(since there are still other means to quit the emulator), so we should
rather tell our users to use the "window-close" parameter instead.

While we're at it, update the documentation to state that
"-no-quit" is available for GTK, too, not only for SDL.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210630163231.467987-4-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/system/deprecated.rst
qemu-options.hx
softmmu/vl.c