From patchwork Sun Aug 12 23:54:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 176836 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 3E4212C008F for ; Mon, 13 Aug 2012 10:02:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 25426101148; Mon, 13 Aug 2012 00:02:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EIf8C8WzjkcQ; Mon, 13 Aug 2012 00:02:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 30A991016B1; Mon, 13 Aug 2012 00:01:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 2DC9B8F791 for ; Sun, 12 Aug 2012 23:54:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 29CC4A00CC for ; Sun, 12 Aug 2012 23:54:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 358gLAFMrJkl for ; Sun, 12 Aug 2012 23:54:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.smtpout.orange.fr (smtp10.smtpout.orange.fr [80.12.242.132]) by hemlock.osuosl.org (Postfix) with ESMTP id 84718A011E for ; Sun, 12 Aug 2012 23:54:36 +0000 (UTC) Received: from treguer.bzh.lan ([90.32.165.248]) by mwinf5d33 with ME id lzuQ1j0055MspoA03zubKN; Mon, 13 Aug 2012 01:54:35 +0200 From: "Yann E. MORIN" To: buildroot@busybox.net Date: Mon, 13 Aug 2012 01:54:20 +0200 Message-Id: <1344815664-28138-32-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1344815664-28138-1-git-send-email-yann.morin.1998@free.fr> References: <1344815664-28138-1-git-send-email-yann.morin.1998@free.fr> Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 32/36] package/qemu: add support for Spice X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: "Yann E. MORIN" --- package/qemu/Config.in | 12 ++++++++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 19 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index b56fef4..89b37af 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -120,6 +120,18 @@ config BR2_PACKAGE_QEMU_CURSES frontend (although you can still use the SDL or VNC frontends to display the graphical output). +config BR2_PACKAGE_QEMU_SPICE + bool "Enable Spice frontend" + depends on BR2_PACKAGE_SPICE + depends on !BR2_PREFER_STATIC_LIB + help + Say 'y' here to have QEMU support Spice as a (VNC-like) frontend. + +if !BR2_PACKAGE_SPICE || BR2_PREFER_STATIC_LIB +comment "Spice support requires spice-server," +comment "and does not work for static linking." +endif + comment "Block backends" config BR2_PACKAGE_QEMU_VIRTFS diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index c14b3c3..a1d192e 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -88,6 +88,13 @@ else QEMU_OPTS += --disable-curses endif +ifeq ($(BR2_PACKAGE_QEMU_SPICE),y) +QEMU_OPTS += --enable-spice +QEMU_DEPENDENCIES += spice +else +QEMU_OPTS += --disable-spice +endif + ifeq ($(BR2_PACKAGE_QEMU_VIRTFS),y) QEMU_OPTS += --enable-virtfs else @@ -256,7 +263,6 @@ define QEMU_CONFIGURE_CMDS --disable-brlapi \ --disable-guest-base \ --disable-docs \ - --disable-spice \ --disable-rbd \ --disable-guest-agent \ --disable-smartcard \