mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
spice: move add_interface() to QemuSpiceOps.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20201019075224.14803-6-kraxel@redhat.com
This commit is contained in:
parent
b192cd1e4f
commit
05b53636d0
6 changed files with 16 additions and 9 deletions
|
@ -18,10 +18,17 @@
|
|||
#ifndef QEMU_SPICE_MODULE_H
|
||||
#define QEMU_SPICE_MODULE_H
|
||||
|
||||
#ifdef CONFIG_SPICE
|
||||
#include <spice.h>
|
||||
#endif
|
||||
|
||||
struct QemuSpiceOps {
|
||||
void (*init)(void);
|
||||
void (*display_init)(void);
|
||||
int (*migrate_info)(const char *h, int p, int t, const char *s);
|
||||
#ifdef CONFIG_SPICE
|
||||
int (*add_interface)(SpiceBaseInstance *sin);
|
||||
#endif
|
||||
};
|
||||
|
||||
extern int using_spice;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue