From patchwork Wed Oct 24 21:25:59 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: 193994 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id B33EF2C009B for ; Thu, 25 Oct 2012 08:32:12 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E039780130; Wed, 24 Oct 2012 21:32:08 +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 rUB+azqLUviS; Wed, 24 Oct 2012 21:32:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 4689D8C935; Wed, 24 Oct 2012 21:32:02 +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 3C77E8F74A for ; Wed, 24 Oct 2012 21:27:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E0E8F81C2D for ; Wed, 24 Oct 2012 21:27:10 +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 ilpJrsAUEwCz for ; Wed, 24 Oct 2012 21:26:58 +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 0A3938C8BF for ; Wed, 24 Oct 2012 21:26:49 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id s43so650111wey.16 for ; Wed, 24 Oct 2012 14:26:49 -0700 (PDT) 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=vtbBUAn3WOdPh4oK1ZxBCmfmrW32iAVuha3smAoIPh4=; b=uhivrqIE1U0a9oPdX213aCVe2UweIqY4dwPjxqvLJLevcb+6yl96h2PJZ9oshgyWku 8pp8Q9tqbFqUL/ouHG1CNj4aD4ZvKqUqk3gGy+KYQAAgx7VPHO7GvChFBb4KVd5EXouY CqWfPlxnhG9gzBahDDySodiRL6e/kwyjfnAst81wNrFyPCtqJRAxqHN8vqoq9Nz5fuXS tslNLDusG9hdIgmg1ZCM2EVO3VRmeYuoIt54hL8NLxXm4ZnC2AyNS5BatEk1ajZBKF08 38o86xyB5YgJLEjaDE2ENDs8f2PtT4ZmKH1SknpRJ9wZI1acJLpT4wMwwRPyS6k8/eI+ pA1Q== Received: by 10.180.103.38 with SMTP id ft6mr8738226wib.9.1351114009592; Wed, 24 Oct 2012 14:26:49 -0700 (PDT) Received: from localhost.localdomain (ARennes-256-1-66-54.w90-32.abo.wanadoo.fr. [90.32.145.54]) by mx.google.com with ESMTPS id hb6sm6371161wib.7.2012.10.24.14.26.48 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 14:26:48 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Wed, 24 Oct 2012 23:25:59 +0200 Message-Id: <1351113973-17237-34-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr> References: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr> Cc: bjornar.ness@gmail.com, "Yann E. MORIN" Subject: [Buildroot] [PATCH 33/47] 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 e15f14c..567b9af 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 70d3f7e..bc3f437 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -83,6 +83,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 @@ -187,7 +193,6 @@ define QEMU_CONFIGURE_CMDS --disable-xen \ --disable-slirp \ --disable-vnc-sasl \ - --disable-virtfs \ --disable-brlapi \ --disable-curses \ --disable-curl \