]> git.proxmox.com Git - mirror_qemu.git/commit
monitor: Improve and document client_migrate_info protocol error
authorMarkus Armbruster <armbru@redhat.com>
Thu, 5 Mar 2015 18:16:58 +0000 (19:16 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 2 Jun 2015 07:59:13 +0000 (09:59 +0200)
commit13cadefbda71e119db79fe0b7a4efd26a6d005bd
tree42f1ae1d3b9c5c8710e00c397daf716d66f887c4
parent84add864ebd2e6f3c645948ab595d8454165ebc5
monitor: Improve and document client_migrate_info protocol error

Protocol must be spice, vnc isn't implemented.  Fix up documentation.

Attempts to use vnc or any other unknown protocol yield the misleading
error message "Invalid parameter 'protocol'".  Improve it to
"Parameter 'protocol' expects spice".

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by. Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
hmp-commands.hx
monitor.c
qmp-commands.hx