mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -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
|
@ -52,10 +52,17 @@ static int qemu_spice_set_pw_expire_stub(time_t expires)
|
|||
return -1;
|
||||
}
|
||||
|
||||
static int qemu_spice_display_add_client_stub(int csock, int skipauth,
|
||||
int tls)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
struct QemuSpiceOps qemu_spice = {
|
||||
.init = qemu_spice_init_stub,
|
||||
.display_init = qemu_spice_display_init_stub,
|
||||
.migrate_info = qemu_spice_migrate_info_stub,
|
||||
.set_passwd = qemu_spice_set_passwd_stub,
|
||||
.set_pw_expire = qemu_spice_set_pw_expire_stub,
|
||||
.display_add_client = qemu_spice_display_add_client_stub,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue