[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] fixup! libqemustub: add more stubs for qemu-char
From: |
Nikolay Nikolaev |
Subject: |
[Qemu-devel] [PATCH] fixup! libqemustub: add more stubs for qemu-char |
Date: |
Thu, 19 Jun 2014 19:51:50 +0300 |
User-agent: |
StGit/0.17.1-dirty |
Fix build break when --disable-spice.
Reported-by: Andrew Jones <address@hidden>
Signed-off-by: Nikolay Nikolaev <address@hidden>
---
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] fixup! libqemustub: add more stubs for qemu-char,
Nikolay Nikolaev <=