From patchwork Sun Aug 12 23:54:11 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: 176825 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id A81C12C0088 for ; Mon, 13 Aug 2012 10:00:48 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9700B24C13; Mon, 13 Aug 2012 00:00:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mLgYcTO6WVLJ; Mon, 13 Aug 2012 00:00:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0AD7824C21; Mon, 13 Aug 2012 00:00:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6A6198F791 for ; Sun, 12 Aug 2012 23:54:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 633AAFF983 for ; Sun, 12 Aug 2012 23:54:34 +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 zSP6+gdR0yCJ for ; Sun, 12 Aug 2012 23:54:33 +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 fraxinus.osuosl.org (Postfix) with ESMTP id 59D97FFB89 for ; Sun, 12 Aug 2012 23:54:33 +0000 (UTC) Received: from treguer.bzh.lan ([90.32.165.248]) by mwinf5d33 with ME id lzuQ1j0055MspoA03zuYJl; Mon, 13 Aug 2012 01:54:32 +0200 From: "Yann E. MORIN" To: buildroot@busybox.net Date: Mon, 13 Aug 2012 01:54:11 +0200 Message-Id: <1344815664-28138-23-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 23/36] 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 8ed5dcb..498a5a6 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -109,6 +109,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 4a6080e..caaf077 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -81,6 +81,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 @@ -191,7 +197,6 @@ define QEMU_CONFIGURE_CMDS --disable-xen \ --disable-slirp \ --disable-vnc-sasl \ - --disable-virtfs \ --disable-brlapi \ --disable-curses \ --disable-curl \