From patchwork Sun Dec 9 16:35:15 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: 204745 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 CF85A2C01FA for ; Mon, 10 Dec 2012 03:41:23 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A08B7A02CB; Sun, 9 Dec 2012 16:41:20 +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 swR7eJpoPbvz; Sun, 9 Dec 2012 16:41:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B6B01A02A7; Sun, 9 Dec 2012 16:37:35 +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 98BF88F74B for ; Sun, 9 Dec 2012 16:36:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7D145884E1 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 TXgU+87LKGas for ; Sun, 9 Dec 2012 16:36:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id F1AA781B94 for ; Sun, 9 Dec 2012 16:36:19 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so1081279wey.16 for ; Sun, 09 Dec 2012 08:36:19 -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=hpNWze55dNgZcrhZRgSvTyO2Vzi1GWjPULrkB6Wn0Xs=; b=grLDTxGacY2OH8ihXNGDMJYt8h6OD5pRXaLswYUgsD5ZGOHAoAQO7aiF2kJP1pNP1E MFlH3J73bf7Bb3Nb1Zy99KraQGcfV114hRCgCOl8w3nlidmxz865Cpzr8r7eXcCM99Cs bW6iO3/R2bOli9ipJBvGPYt0/ae45+lYmG4X/O8gUeeL21Z6Uofhezi7ZIirEAATMFCP F6qhO8aNBPiysuBEzpcBN8E7dZG6mwr8Zx1o/bTxqXUwRo1Ds0CVW+YbKV1Fq9XHPR+9 IYZl+wioSU5CFaCxATC2Ef6+JyjLE4sVzT8UyjXDgCGQzCJJAFz1KNw7go7Nbo8rMYgc KK5A== Received: by 10.180.85.194 with SMTP id j2mr6959172wiz.12.1355070979343; Sun, 09 Dec 2012 08:36:19 -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.18 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:36:18 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:35:15 +0100 Message-Id: <1355070924-8009-43-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 42/51] package/qemu: add support for USB redirection 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 | 9 +++++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 16 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 8cd3869..3d31769 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -158,6 +158,15 @@ config BR2_PACKAGE_QEMU_ISCSI help Say 'y' here to have QEMU use iSCSI targets as block-devices. +config BR2_PACKAGE_QEMU_USBREDIR + bool "Enable USB redirection" + depends on BR2_PACKAGE_USBREDIR + help + Say 'y' here to have QEMU support USB redirection over the network. + +comment "USB redirection requires usbredir" + depends on !BR2_PACKAGE_USBREDIR + config BR2_PACKAGE_QEMU_AIO bool "Enable AIO" depends on BR2_PACKAGE_LIBAIO diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 8c18403..7b023e2 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -176,6 +176,13 @@ else QEMU_OPTS += --disable-libiscsi endif +ifeq ($(BR2_PACKAGE_QEMU_USBREDIR),y) +QEMU_OPTS += --enable-usb-redir +QEMU_DEPENDENCIES += usbredir +else +QEMU_OPTS += --disable-usb-redir +endif + ifeq ($(BR2_PACKAGE_QEMU_AIO),y) QEMU_OPTS += --enable-linux-aio QEMU_DEPENDENCIES += libaio @@ -308,7 +315,6 @@ define QEMU_CONFIGURE_CMDS --disable-docs \ --disable-spice \ --disable-rbd \ - --disable-usb-redir \ --disable-smartcard \ --disable-strip \ --disable-seccomp \