From patchwork Sun Dec 16 17:01:48 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: 206725 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 5FEDC2C008D for ; Mon, 17 Dec 2012 04:03:57 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8EEA3A00D8; Sun, 16 Dec 2012 17:03:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PYEo9-nijaLj; Sun, 16 Dec 2012 17:03:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6CD64A0127; Sun, 16 Dec 2012 17:03:04 +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 BAA508F74B for ; Sun, 16 Dec 2012 17:02:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 40F4D80C10 for ; Sun, 16 Dec 2012 17:02:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rXyA1mo1itYi for ; Sun, 16 Dec 2012 17:02:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 24B6C80C0E for ; Sun, 16 Dec 2012 17:02:35 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id e12so2204733wge.10 for ; Sun, 16 Dec 2012 09:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=JWmV4456cX7QtX4NqOmugiwLFTVCQn2SmYOHQe4yVfo=; b=QPP3ahxD1ZRmpnZoTO97egBc3K+bfR13ibQSxp+ZcusNnJoFN/iyrgMc7S3UBPHkEb tBkSQwqyoxFQY5ppyNhp4kwE3cTu5OfakFTBOyofl+DtpX6QGnMdIf6KCa6qnrwN3BSg Bpcx98hGD6to0OA+faDfvDf07K7i5+0n474tdtxejl4jPkn81lYzvu/nxtnmrcMIRfNa B4+xYvl8tiBbWApbe6bhaHcCGlzE39XK1nvmgfugCY+uQ4rn/WlmUnoyxoklAM15G3fI zXPzSoj/W+a7bAgRz78wDD1FQhdRuCmaPbWc2m/Fut9yt+ErCPtgGnacxbrNppC+BGyU yzMw== X-Received: by 10.180.93.3 with SMTP id cq3mr12025510wib.1.1355677354568; Sun, 16 Dec 2012 09:02:34 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-41-119.w90-32.abo.wanadoo.fr. [90.32.24.119]) by mx.google.com with ESMTPS id w5sm7363031wif.11.2012.12.16.09.02.32 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Dec 2012 09:02:33 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 16 Dec 2012 18:01:48 +0100 Message-Id: X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 19/27] 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 38bb290..a10abb1 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -149,6 +149,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 b84473b..4920e12 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 \