mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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
This commit is contained in:
parent
08ad262643
commit
864a024c69
5 changed files with 11 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue