From patchwork Sun Aug 12 23:54: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: 176843 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 0129F2C0087 for ; Mon, 13 Aug 2012 10:03:06 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CA7B61016CB; Mon, 13 Aug 2012 00:03:05 +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 IuHQUyof2SLv; Mon, 13 Aug 2012 00:02:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 38BD4100B74; Mon, 13 Aug 2012 00:01:25 +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 AE85F8F753 for ; Sun, 12 Aug 2012 23:54:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A85E4FFB89 for ; Sun, 12 Aug 2012 23:54:39 +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 pfAl5Nn4GOF8 for ; Sun, 12 Aug 2012 23:54:35 +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 2F1FEFF983 for ; Sun, 12 Aug 2012 23:54:35 +0000 (UTC) Received: from treguer.bzh.lan ([90.32.165.248]) by mwinf5d33 with ME id lzuQ1j0055MspoA03zuZK3; Mon, 13 Aug 2012 01:54:34 +0200 From: "Yann E. MORIN" To: buildroot@busybox.net Date: Mon, 13 Aug 2012 01:54:15 +0200 Message-Id: <1344815664-28138-27-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 27/36] package/qemu: add AIO support 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 Add support for Asynchronous Input/Ouput (AIO). 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 a55d7b5..c1628a9 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -146,6 +146,15 @@ config BR2_PACKAGE_QEMU_CURL comment "cURL support is not possible with static linking" depends on BR2_PREFER_STATIC_LIB +config BR2_PACKAGE_QEMU_AIO + bool "Enable AIO" + depends on BR2_PACKAGE_LIBAIO + help + Say 'y' here to enable Asynchronous Input/Output (AIO). + +comment "AIO support depends on libaio" + depends on !BR2_PACKAGE_LIBAIO + comment "Networking" config BR2_PACKAGE_QEMU_BLUEZ diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index f64f627..58eb9f1 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -101,6 +101,13 @@ else QEMU_OPTS += --disable-curl endif +ifeq ($(BR2_PACKAGE_QEMU_AIO),y) +QEMU_OPTS += --enable-linux-aio +QEMU_DEPENDENCIES += libaio +else +QEMU_OPTS += --disable-linux-aio +endif + ifeq ($(BR2_PACKAGE_QEMU_BLUEZ),y) QEMU_OPTS += --enable-bluez QEMU_DEPENDENCIES += bluez_utils @@ -222,7 +229,6 @@ define QEMU_CONFIGURE_CMDS --disable-fdt \ --disable-guest-base \ --disable-vde \ - --disable-linux-aio \ --disable-docs \ --disable-spice \ --disable-rbd \