summaryrefslogtreecommitdiff
path: root/stubs/qemu-chr-open-spice.c
diff options
context:
space:
mode:
authorNikolay Nikolaev <n.nikolaev@virtualopensystems.com>2014-06-19 18:07:40 +0300
committerMichael S. Tsirkin <mst@redhat.com>2014-06-23 17:37:59 +0300
commit1dc75c6d74738cfc06dbcf4a2af6c09af692a640 (patch)
tree72a995dd57aaf2eb9d8fbc3aae2c422b012f6bbd /stubs/qemu-chr-open-spice.c
parent8f4e5ac3e27f832c09d5de274c84a7f22de0e4dd (diff)
downloadqemu-1dc75c6d74738cfc06dbcf4a2af6c09af692a640.zip
libqemustub: add more stubs for qemu-char
Additional stubs: - chr_baum_init - qemu_chr_open_spice_vmc - qemu_chr_open_spice_port Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'stubs/qemu-chr-open-spice.c')
-rw-r--r--stubs/qemu-chr-open-spice.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/stubs/qemu-chr-open-spice.c b/stubs/qemu-chr-open-spice.c
new file mode 100644
index 0000000000..f1c4849d9c
--- /dev/null
+++ b/stubs/qemu-chr-open-spice.c
@@ -0,0 +1,14 @@
+#include "qemu-common.h"
+#include "ui/qemu-spice.h"
+
+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