From patchwork Wed Nov 28 23:54:43 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: 202618 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 BEFFF2C0080 for ; Thu, 29 Nov 2012 10:59:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 64E738ACEA; Wed, 28 Nov 2012 23:59:40 +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 BVHHpPFOuVPs; Wed, 28 Nov 2012 23:59:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id F3DDA81442; Wed, 28 Nov 2012 23:59:13 +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 464698F74A for ; Wed, 28 Nov 2012 23:55:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1CC078A9FD for ; Wed, 28 Nov 2012 23:55:51 +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 dLEW71WQGyla for ; Wed, 28 Nov 2012 23:55:47 +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 ABDAE8A973 for ; Wed, 28 Nov 2012 23:55:46 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so4237200wey.16 for ; Wed, 28 Nov 2012 15:55:46 -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=qg/HUbfj8G4OWWWzOgRcgGnfNzkWviRFuAQXWcN3YLI=; b=JVEBGjZ5tuHaAmvg3ENOalb3b8IBHrpGVUVs0BGjZ65gi967QbEv58J3DdI0Nmibob DS0D3C92Ui9YTJ81ntfuxn9J5LmMEpyLvuisBKXZxrGedPGESoZSJpOykj1h4+vJNTGV pWrchGS1iZHWamyupsyFjs6yIiZ86pMs4wAHrroT1b2yXEhsLCwuE9qIaMsArRohTGRO PZ31B63hPPv33/xrgHP0EUMtCW/33+dbMbADjZazVcX2d7WCVNcvrLAAhNU8rAxqeSTK 6zlaQtIxqsOfea1O6AZgV92WzFDIAGeezV4PqpAY2Jx2bYDC/uMmle2ffzsg5o+ZiwOc j7LQ== Received: by 10.180.103.39 with SMTP id ft7mr32133587wib.15.1354146946539; Wed, 28 Nov 2012 15:55:46 -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.45 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2012 15:55:46 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Thu, 29 Nov 2012 00:54:43 +0100 Message-Id: <1354146890-27380-45-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 44/51] package/qemu: add iSCSI 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 Signed-off-by: "Yann E. MORIN" --- package/qemu/Config.in | 6 ++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index a82a1c6..2c401ca 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -153,6 +153,12 @@ config BR2_PACKAGE_QEMU_CURL comment "cURL support is not possible with static linking" depends on BR2_PREFER_STATIC_LIB +config BR2_PACKAGE_QEMU_ISCSI + bool "Enable remote block-devices using iSCSI" + select BR2_PACKAGE_LIBISCSI + help + Say 'y' here to have QEMU use iSCSI targets as block-devices. + config BR2_PACKAGE_QEMU_AIO bool "Enable AIO" depends on BR2_PACKAGE_LIBAIO diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index ce7307c..43987c5 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -184,6 +184,13 @@ else QEMU_OPTS += --disable-curl endif +ifeq ($(BR2_PACKAGE_QEMU_ISCSI),y) +QEMU_OPTS += --enable-libiscsi +QEMU_DEPENDENCIES += libiscsi +else +QEMU_OPTS += --disable-libiscsi +endif + ifeq ($(BR2_PACKAGE_QEMU_AIO),y) QEMU_OPTS += --enable-linux-aio QEMU_DEPENDENCIES += libaio @@ -326,7 +333,6 @@ define QEMU_CONFIGURE_CMDS --disable-docs \ --disable-spice \ --disable-rbd \ - --disable-libiscsi \ --disable-usb-redir \ --disable-smartcard \ --disable-strip \