diff options
author | Gerd Hoffmann | 2020-10-19 09:52:17 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2020-10-21 15:46:14 +0200 |
commit | 864a024c69da2bcf77ecfd0d8bd77f628ded5ba0 (patch) | |
tree | b802119956cb3b4211a992752d247eb71a25bccf /monitor/qmp-cmds.c | |
parent | spice: move auth functions to QemuSpiceOps. (diff) | |
download | qemu-864a024c69da2bcf77ecfd0d8bd77f628ded5ba0.tar.gz qemu-864a024c69da2bcf77ecfd0d8bd77f628ded5ba0.tar.xz qemu-864a024c69da2bcf77ecfd0d8bd77f628ded5ba0.zip |
spice: move display_add_client() to QemuSpiceOps.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20201019075224.14803-8-kraxel@redhat.com
Diffstat (limited to 'monitor/qmp-cmds.c')
-rw-r--r-- | monitor/qmp-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/qmp-cmds.c b/monitor/qmp-cmds.c index 8ac59977e6..a08143b323 100644 --- a/monitor/qmp-cmds.c +++ b/monitor/qmp-cmds.c @@ -340,7 +340,7 @@ void qmp_add_client(const char *protocol, const char *fdname, } skipauth = has_skipauth ? skipauth : false; tls = has_tls ? tls : false; - if (qemu_spice_display_add_client(fd, skipauth, tls) < 0) { + if (qemu_spice.display_add_client(fd, skipauth, tls) < 0) { error_setg(errp, "spice failed to add client"); close(fd); } |