From patchwork Sun Dec 9 16:35:08 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: 204738 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 8E76B2C01FD for ; Mon, 10 Dec 2012 03:40:51 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B076DA02D0; Sun, 9 Dec 2012 16:40:48 +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 E-Obkc+ZfweN; Sun, 9 Dec 2012 16:40:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6D33BA0231; Sun, 9 Dec 2012 16:37:17 +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 1E95D8F74B for ; Sun, 9 Dec 2012 16:36:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0A78E81BA8 for ; Sun, 9 Dec 2012 16:36:14 +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 PzW+GkhwI8Yc for ; Sun, 9 Dec 2012 16:36:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0A4FB885F8 for ; Sun, 9 Dec 2012 16:36:12 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id hq12so571621wib.4 for ; Sun, 09 Dec 2012 08:36:12 -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=MaP4yrQt3lJ0N8xvql914O+yv6q9ktneDoZjVGD09Rg=; b=RJJ23uMGcMr287Xj6rSPyuIxNGvCLuRTHycdV1nGSsKHuv30ke2ND7K1zjFgxfZibB E9oGD4Ev7716y+fGYEKdKDDDhYPHz5AsIfL7mOu+XM0QnYq/mhPfCaCcv+l9+5arRRrN IxwC6WsKXIuKcXLUHOKjgY1GvA7FqAC8YjBXk8f7ZoXjQWKPpAsYh19bQf5+5BA1ER1W RiAfGG5YtSNEhAI22TEj59UgNMY6HPWsBVFM2h7honmToKL2JilutQ2W05WZWwwmiAn+ mANRCpcNbkS82O/6hwRkwaxDOWgdV6lRJN3G2pjvxlkc2nnNrw7+P7NR1q8Fiq1Unso8 JudA== Received: by 10.216.56.14 with SMTP id l14mr4060481wec.11.1355070972485; Sun, 09 Dec 2012 08:36:12 -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.11 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:36:12 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:35:08 +0100 Message-Id: <1355070924-8009-36-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 35/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 f272891..bd83855 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -115,6 +115,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 05e8d14..bf4515c 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -149,6 +149,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 @@ -254,7 +260,6 @@ define QEMU_CONFIGURE_CMDS --disable-xen \ --disable-slirp \ --disable-vnc-sasl \ - --disable-virtfs \ --disable-brlapi \ --disable-curses \ --disable-curl \