fixup! libqemustub: add more stubs for qemu-char
PATCH 1/1 fixup! libqemustub: add more stubs for qemu-char
Fix build break when --disable-spice.
Reported-by Andrew Jones <[email protected]>
Signed-off-by Nikolay Nikolaev <[email protected]>
--- stubs/qemu-chr-open-spice.c | 4 ++++ 1 file changed, 4 insertions(+)
stubs/qemu-chr-open-spice.c +4 -0
@@ -1,12 +1,16 @@#include "qemu-common.h" #include "ui/qemu-spice.h" +#ifdef CONFIG_SPICE CharDriverState *qemu_chr_open_spice_vmc (const char *type) {return NULL ; } +#if SPICE_SERVER_VERSION >=0x000c02 CharDriverState *qemu_chr_open_spice_port (const char *name) {return NULL ; } +#endif +#endif