From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxfZF-00049f-CT for qemu-devel@nongnu.org; Thu, 19 Jun 2014 12:52:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxfZ8-0005o2-MD for qemu-devel@nongnu.org; Thu, 19 Jun 2014 12:52:05 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:34467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxfZ8-0005n9-Ge for qemu-devel@nongnu.org; Thu, 19 Jun 2014 12:51:58 -0400 Received: by mail-wg0-f44.google.com with SMTP id x13so2533285wgg.3 for ; Thu, 19 Jun 2014 09:51:57 -0700 (PDT) From: Nikolay Nikolaev Date: Thu, 19 Jun 2014 19:51:50 +0300 Message-ID: <20140619165125.15863.13008.stgit@3820> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] fixup! libqemustub: add more stubs for qemu-char List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: snabb-devel@googlegroups.com, qemu-devel@nongnu.org, mst@redhat.com Cc: tech@virtualopensystems.com, n.nikolaev@virtualopensystems.com Fix build break when --disable-spice. Reported-by: Andrew Jones Signed-off-by: Nikolay Nikolaev --- 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