From patchwork Sun Dec 9 16:35:16 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: 204746 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 957002C01FA for ; Mon, 10 Dec 2012 03:41:26 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 25AA8A7F44; Sun, 9 Dec 2012 16:41:25 +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 YeVhEcmcw9Ve; Sun, 9 Dec 2012 16:41:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 93A64A013B; Sun, 9 Dec 2012 16:37:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5BD7D8F74B for ; Sun, 9 Dec 2012 16:36:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EF45A884E1 for ; Sun, 9 Dec 2012 16:36:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MYBqfSAV-Aet for ; Sun, 9 Dec 2012 16:36:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id F203681BA8 for ; Sun, 9 Dec 2012 16:36:20 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id e12so1029776wge.10 for ; Sun, 09 Dec 2012 08:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=nzAMGk4or39Nv7gCy38XavpPWzEf/znt0bQnT8AmFr0=; b=qOHU9IpYbm31tX9EuFYPMHPW6cUB1+kzfXKObqb2E32M2ZfmHx5wpzs08ypHJww4Qi NwPVZF/SOGipj9UNUrLj/sWOntR2tDDd8GiiKBKf/UHmEO2YTbha0V5gPUdbteIpKo2R 9XcRtRde3eaFIQCBKGC5nS2qzsepHa08NJKyey9dg0OU7nOfRxqfmtRSxkx6jfqWQ/Ht RUPk2Wyi9r7fW9TEbKpSY6KDfbuCcuYj9Y1DXL0mP9gp9+VTfhCA5wcspqPsgZOVf16J 1SfJrmp23gjyQ44HiExD3S+xyliRWqS97ikUrOStyK5wKtOZUKNNuQyk56ZrCt8i25lj Ad4A== Received: by 10.180.102.234 with SMTP id fr10mr6922245wib.17.1355070980392; Sun, 09 Dec 2012 08:36:20 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-76-30.w90-32.abo.wanadoo.fr. [90.32.155.30]) by mx.google.com with ESMTPS id fv2sm6587947wib.4.2012.12.09.08.36.19 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:36:19 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:35:16 +0100 Message-Id: <1355070924-8009-44-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> References: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 43/51] 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 | 10 ++++++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 17 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 3d31769..4d8b401 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -126,6 +126,16 @@ 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 + help + Say 'y' here to have QEMU support Spice as a (VNC-like) frontend. + +if !BR2_PACKAGE_SPICE +comment "Spice support requires spice-server" +endif + comment "Block backends" config BR2_PACKAGE_QEMU_VIRTFS diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 7b023e2..110bd49 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -156,6 +156,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 @@ -313,7 +320,6 @@ define QEMU_CONFIGURE_CMDS --disable-fdt \ --disable-guest-base \ --disable-docs \ - --disable-spice \ --disable-rbd \ --disable-smartcard \ --disable-strip \