* [Qemu-devel] [PATCH] fixup! libqemustub: add more stubs for qemu-char
@ 2014-06-19 16:51 Nikolay Nikolaev
0 siblings, 0 replies; only message in thread
From: Nikolay Nikolaev @ 2014-06-19 16:51 UTC (permalink / raw)
To: snabb-devel, qemu-devel, mst; +Cc: tech, n.nikolaev
Fix build break when --disable-spice.
Reported-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
---
stubs/qemu-chr-open-spice.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stubs/qemu-chr-open-spice.c b/stubs/qemu-chr-open-spice.c
index 40a29a9..83d8a66 100644
--- a/stubs/qemu-chr-open-spice.c
+++ b/stubs/qemu-chr-open-spice.c
@@ -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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-06-19 16:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-19 16:51 [Qemu-devel] [PATCH] fixup! libqemustub: add more stubs for qemu-char Nikolay Nikolaev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).