mirror of
https://github.com/mii443/qemu.git
synced 2025-08-27 01:19:30 +00:00
spice: add module helpers
Add new spice-module.c + qemu-spice-module.h files. The code needed to support modular spice will be there. For starters this will be only the using_spice variable, more will follow ... Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20201019075224.14803-2-kraxel@redhat.com
This commit is contained in:
@ -19,14 +19,13 @@
|
||||
#define QEMU_SPICE_H
|
||||
|
||||
#include "qapi/error.h"
|
||||
#include "ui/qemu-spice-module.h"
|
||||
|
||||
#ifdef CONFIG_SPICE
|
||||
|
||||
#include <spice.h>
|
||||
#include "qemu/config-file.h"
|
||||
|
||||
extern int using_spice;
|
||||
|
||||
void qemu_spice_init(void);
|
||||
void qemu_spice_input_init(void);
|
||||
void qemu_spice_display_init(void);
|
||||
@ -50,7 +49,6 @@ int qemu_spice_migrate_info(const char *hostname, int port, int tls_port,
|
||||
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
#define using_spice 0
|
||||
#define spice_displays 0
|
||||
static inline int qemu_spice_set_passwd(const char *passwd,
|
||||
bool fail_if_connected,
|
||||
|
Reference in New Issue
Block a user