From patchwork Sun Dec 9 16:35:14 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: 204744 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 3F1182C01FA for ; Mon, 10 Dec 2012 03:41:15 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E9D95A0176; Sun, 9 Dec 2012 16:41:13 +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 NP0PaAhIesGA; Sun, 9 Dec 2012 16:41:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 09440A0141; Sun, 9 Dec 2012 16:37:33 +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 CEA588F74B for ; Sun, 9 Dec 2012 16:36:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BB83D81B94 for ; Sun, 9 Dec 2012 16:36:19 +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 yzfhVAjYbtdO for ; Sun, 9 Dec 2012 16:36:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by whitealder.osuosl.org (Postfix) with ESMTPS id BDAAB81BA8 for ; Sun, 9 Dec 2012 16:36:18 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id hm2so556696wib.10 for ; Sun, 09 Dec 2012 08:36:18 -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=RqxxXhIf0lgCtIZz15qaHfU+WYApRmDdFipHZoc9oV4=; b=PZn0iE4czBc+Nfygvq8p21VMDDdx948nWvEawwioD+XopJOLRVR/XOcj9Ji4tKPnDe MWL0VwAXF+hExDe0QWnCffy17/oZ24XuU6zUG4e9IRzS1LAl0oyEhob6yWSgWBV8M24p 9x/8q5jZ2TJudD8/9juExaf1934iuxV4l8Jo3eWDeBJ/2NfSEjWcodrneIqjhw6lwDEy 99tGZGTcU6w2vw62Q53C8ig+One5k1aqTVeMrYMKVj56P6MRQ3lPRFHR4L/HaxkkCiy0 uyO3wazfNJoXk7D9Zp4PHKxXHXsfQH6WzbqK1Zs5kCNr3habNpelvPsc94OUtr54RASD mqJw== Received: by 10.180.107.130 with SMTP id hc2mr5863493wib.12.1355070978235; Sun, 09 Dec 2012 08:36:18 -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.17 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:36:17 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:35:14 +0100 Message-Id: <1355070924-8009-42-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 41/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 ac5df9e..8cd3869 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -152,6 +152,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 ccce2b4..8c18403 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -169,6 +169,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 @@ -301,7 +308,6 @@ define QEMU_CONFIGURE_CMDS --disable-docs \ --disable-spice \ --disable-rbd \ - --disable-libiscsi \ --disable-usb-redir \ --disable-smartcard \ --disable-strip \