OSDN Git Service

vnc: Clarify documentation of QMP command change
authorMarkus Armbruster <armbru@redhat.com>
Wed, 19 Jul 2017 07:09:42 +0000 (09:09 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 20 Jul 2017 07:25:06 +0000 (09:25 +0200)
commit6dfe8eabe21c73ede730687e10b85ab645e3022e
treec406a03bdc0e7442bace803c326fc25d8f96fdf7
parentd4e59218ab80e86015753782fb5378767a51ccd0
vnc: Clarify documentation of QMP command change

QMP command

    { "execute": "change",
      "arguments": { "device": "vnc", "target": "password", "arg": PWD } }

behaves just like

    { "execute": "change-vnc-password",
      "arguments": { "password", "arg": PWD } }

Their documentation differs, however.  According to
change-vnc-password's documentation, "an empty password [...] will set
the password to the empty string", while change's documentation claims
"no future logins will be allowed".  The former is actually correct.
Replace the incorrect claim by a reference to change-vnc-password.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 1500448182-21376-1-git-send-email-armbru@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qapi-schema.json