diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/qemu-spice-module.h | 1 | ||||
-rw-r--r-- | include/ui/qemu-spice.h | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/include/ui/qemu-spice-module.h b/include/ui/qemu-spice-module.h index b182bc4..dbe0903 100644 --- a/include/ui/qemu-spice-module.h +++ b/include/ui/qemu-spice-module.h @@ -20,6 +20,7 @@ struct QemuSpiceOps { void (*init)(void); + void (*display_init)(void); int (*migrate_info)(const char *h, int p, int t, const char *s); }; diff --git a/include/ui/qemu-spice.h b/include/ui/qemu-spice.h index e6df0a8..a3fd1ea 100644 --- a/include/ui/qemu-spice.h +++ b/include/ui/qemu-spice.h @@ -66,13 +66,6 @@ static inline int qemu_spice_display_add_client(int csock, int skipauth, return -1; } -static inline void qemu_spice_display_init(void) -{ - /* This must never be called if CONFIG_SPICE is disabled */ - error_report("spice support is disabled"); - abort(); -} - #endif /* CONFIG_SPICE */ static inline bool qemu_using_spice(Error **errp) |