mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
spice: move auth functions to QemuSpiceOps.
Move qemu_spice_set_passwd() and qemu_spice_set_pw_expire() functions to QemuSpiceOps. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20201019075224.14803-7-kraxel@redhat.com
This commit is contained in:
parent
05b53636d0
commit
08ad262643
5 changed files with 25 additions and 20 deletions
|
@ -26,6 +26,9 @@ struct QemuSpiceOps {
|
|||
void (*init)(void);
|
||||
void (*display_init)(void);
|
||||
int (*migrate_info)(const char *h, int p, int t, const char *s);
|
||||
int (*set_passwd)(const char *passwd,
|
||||
bool fail_if_connected, bool disconnect_if_connected);
|
||||
int (*set_pw_expire)(time_t expires);
|
||||
#ifdef CONFIG_SPICE
|
||||
int (*add_interface)(SpiceBaseInstance *sin);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue