mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
spice: move qemu_spice_init() to QemuSpiceOps.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20201019075224.14803-4-kraxel@redhat.com
This commit is contained in:
parent
7477477ca7
commit
63be30e6d5
5 changed files with 9 additions and 7 deletions
|
@ -633,7 +633,7 @@ static void vm_change_state_handler(void *opaque, int running,
|
|||
}
|
||||
}
|
||||
|
||||
void qemu_spice_init(void)
|
||||
static void qemu_spice_init(void)
|
||||
{
|
||||
QemuOpts *opts = QTAILQ_FIRST(&qemu_spice_opts.head);
|
||||
const char *password, *str, *x509_dir, *addr,
|
||||
|
@ -994,6 +994,7 @@ int qemu_spice_display_is_running(SimpleSpiceDisplay *ssd)
|
|||
}
|
||||
|
||||
static struct QemuSpiceOps real_spice_ops = {
|
||||
.init = qemu_spice_init,
|
||||
.migrate_info = qemu_spice_migrate_info,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue