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
|
@ -19,6 +19,7 @@
|
|||
#define QEMU_SPICE_MODULE_H
|
||||
|
||||
struct QemuSpiceOps {
|
||||
void (*init)(void);
|
||||
int (*migrate_info)(const char *h, int p, int t, const char *s);
|
||||
};
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include <spice.h>
|
||||
#include "qemu/config-file.h"
|
||||
|
||||
void qemu_spice_init(void);
|
||||
void qemu_spice_input_init(void);
|
||||
void qemu_spice_display_init(void);
|
||||
int qemu_spice_display_add_client(int csock, int skipauth, int tls);
|
||||
|
@ -74,10 +73,6 @@ static inline void qemu_spice_display_init(void)
|
|||
abort();
|
||||
}
|
||||
|
||||
static inline void qemu_spice_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SPICE */
|
||||
|
||||
static inline bool qemu_using_spice(Error **errp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue