From patchwork Wed Nov 28 23:54:36 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: 202603 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 4F8A22C0290 for ; Thu, 29 Nov 2012 10:58:39 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5CA4EA023F; Wed, 28 Nov 2012 23:58: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 9aoUXU7FjcYF; Wed, 28 Nov 2012 23:58:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E0EBEA0234; Wed, 28 Nov 2012 23:57:28 +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 EB6D98F74A for ; Wed, 28 Nov 2012 23:55:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CE20F8A99B for ; Wed, 28 Nov 2012 23:55:46 +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 gKVvleS-AHuZ for ; Wed, 28 Nov 2012 23:55:42 +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 12AC08AA95 for ; Wed, 28 Nov 2012 23:55:40 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so4237200wey.16 for ; Wed, 28 Nov 2012 15:55:40 -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=a/jPKUm8suS6yY+oybnrb7fU/P1YR3svz96slCcnMII=; b=PMqepPgOQCUXILKBfzFuJ/uDDpyRAvvZ7NYtkTSFDuD11m9yVRMkvs/99KadOFuPDz Hlq2eee6/SLVz237gGDsxr0SLIN6pDuf665eLRGV5Np5F1o+oJniwTsqu+P7MVtr1Xse N30eUBabFmvhelapLs6qL/H8v81SWHk91q2A5WxLV/exc5sQiaLhSesJ5E6jQcg0U0U5 /T8vL/lB8TrzGzUR53jwFOrWLAXWJ1eAvwSSYqNLEEsdw+6MF8woPEepF0v0nxd4Ljpd dbVsqpnwRazlyd89ldz0/DjV03/3EEoMnWSM8GzADYCvOEbOMhMSz/Ff9lDT+0KNmwjs xs4Q== Received: by 10.180.20.109 with SMTP id m13mr35655480wie.16.1354146940912; Wed, 28 Nov 2012 15:55:40 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-141-45.w90-32.abo.wanadoo.fr. [90.32.252.45]) by mx.google.com with ESMTPS id i6sm9076156wix.5.2012.11.28.15.55.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2012 15:55:40 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Thu, 29 Nov 2012 00:54:36 +0100 Message-Id: <1354146890-27380-38-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1354146890-27380-1-git-send-email-yann.morin.1998@free.fr> References: <1354146890-27380-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 37/51] package/qemu: add support for virtfs 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 | 16 ++++++++++++++++ package/qemu/qemu.mk | 7 ++++++- 2 files changed, 22 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 9422caf..ba43e5f 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -116,6 +116,22 @@ config BR2_PACKAGE_QEMU_SDL Say 'y' to enable the SDL frontend, that is, a graphical window presenting the VM's display. +comment "Block backends" + +config BR2_PACKAGE_QEMU_VIRTFS + bool "Enable plan9 ressources using VirtFS" + select BR2_PACKAGE_QEMU_CAP + select BR2_PACKAGE_QEMU_ATTR + help + Say 'y' here if you want QEMU to provide a plan9 virtual "share" + accessible from the guest OS for relatively fast access to host + files. + + This requires that the guest OS is capable of accessing plan9 + ressources (typically, in Linux, this is done by a network + file-system called 9p, and can be accelerated by using the 9p + virtio). + comment "Misc. features" config BR2_PACKAGE_QEMU_UUID diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 43ba5df..8c9302f 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -164,6 +164,12 @@ else QEMU_OPTS += --disable-sdl endif +ifeq ($(BR2_PACKAGE_QEMU_VIRTFS),y) +QEMU_OPTS += --enable-virtfs +else +QEMU_OPTS += --disable-virtfs +endif + ifeq ($(BR2_PACKAGE_QEMU_UUID),y) QEMU_OPTS += --enable-uuid QEMU_DEPENDENCIES += util-linux @@ -273,7 +279,6 @@ define QEMU_CONFIGURE_CMDS --disable-xen \ --disable-slirp \ --disable-vnc-sasl \ - --disable-virtfs \ --disable-brlapi \ --disable-curses \ --disable-curl \