From: Eric Blake <eblake@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: armbru@redhat.com, kraxel@redhat.com
Subject: Re: [PATCH 2/3] qmp: remove deprecated "change" command
Date: Wed, 20 Jan 2021 09:31:39 -0600 [thread overview]
Message-ID: <a5e9ca14-1667-09ec-a47a-ced4e569f08f@redhat.com> (raw)
In-Reply-To: <20210120144235.345983-3-pbonzini@redhat.com>
On 1/20/21 8:42 AM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> docs/system/deprecated.rst | 5 ----
> docs/system/removed-features.rst | 5 ++++
> monitor/qmp-cmds.c | 51 --------------------------------
> qapi/misc.json | 49 ------------------------------
> 4 files changed, 5 insertions(+), 105 deletions(-)
>
> -``change`` (since 2.5.0)
> -''''''''''''''''''''''''
> -
> -Use ``blockdev-change-medium`` or ``change-vnc-password`` instead.
We didn't document a fallback for changing the vnc listener...
> +++ b/docs/system/removed-features.rst
> @@ -53,6 +53,11 @@ are automatically loaded from qcow2 images.
> Use ``device_add`` for hotplugging vCPUs instead of ``cpu-add``. See
> documentation of ``query-hotpluggable-cpus`` for additional details.
>
> +``change`` (removed in 6.0)
> +'''''''''''''''''''''''''''
> +
> +Use ``blockdev-change-medium`` or ``change-vnc-password`` instead.
...and still don't,...
> -static void qmp_change_vnc(const char *target, bool has_arg, const char *arg,
> - Error **errp)
> -{
> - if (strcmp(target, "passwd") == 0 || strcmp(target, "password") == 0) {
> - if (!has_arg) {
> - error_setg(errp, QERR_MISSING_PARAMETER, "password");
> - } else {
> - qmp_change_vnc_password(arg, errp);
> - }
> - } else {
> - qmp_change_vnc_listen(target, errp);
...and now we're entirely removing that QMP ability, without
deprecation. Is that intended?
> +++ b/qapi/misc.json
> @@ -238,55 +238,6 @@
> 'returns': 'str',
> 'features': [ 'savevm-monitor-nodes' ] }
>
> -##
> -# @change:
> -#
> -# This command is multiple commands multiplexed together.
> -#
> -# @device: This is normally the name of a block device but it may also be 'vnc'.
> -# when it's 'vnc', then sub command depends on @target
> -#
> -# @target: If @device is a block device, then this is the new filename.
> -# If @device is 'vnc', then if the value 'password' selects the vnc
> -# change password command. Otherwise, this specifies a new server URI
> -# address to listen to for VNC connections.
That is, I'm wondering if we should be adding a change-vnc-listener QMP
command, and extending the deprecation for 2 more releases to allow this
final use of 'change vnc' to still work. Or are we really at the point
where we have no known users?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
next prev parent reply other threads:[~2021-01-20 15:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-20 14:42 [PATCH 0/3] vnc: remove "change vnc TARGET" and QMP change command, support "-vnc help" Paolo Bonzini
2021-01-20 14:42 ` [PATCH 1/3] hmp: remove "change vnc TARGET" command Paolo Bonzini
2021-01-20 15:24 ` Eric Blake
2021-01-20 14:42 ` [PATCH 2/3] qmp: remove deprecated "change" command Paolo Bonzini
2021-01-20 15:21 ` Philippe Mathieu-Daudé
2021-01-20 15:31 ` Eric Blake [this message]
2021-01-20 14:42 ` [PATCH 3/3] vnc: support "-vnc help" Paolo Bonzini
2021-01-20 15:44 ` Eric Blake
2021-01-21 10:38 ` [PATCH 0/3] vnc: remove "change vnc TARGET" and QMP change command, " Gerd Hoffmann
2021-01-21 10:52 ` Daniel P. Berrangé
2021-01-21 11:13 ` Gerd Hoffmann
2021-01-21 12:02 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a5e9ca14-1667-09ec-a47a-ced4e569f08f@redhat.com \
--to=eblake@redhat.com \
--cc=armbru@redhat.com \
--cc=kraxel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).