From nobody Sun Feb 8 18:33:15 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1594894397; cv=none; d=zohomail.com; s=zohoarc; b=CV/27xIeAhpnwgu5cpHeB5y8/4FO4QqloamQ6DxFHkykclZVb/sJAjKoule+69AleQ9mzJ558NgOxTPxpDKtqCwwkaZJv4b8QW65Xsx29n8EdC+YqTPXc6Gtd+VXx2x1GHcluL1PqmbS8NcVnNnDfb5Cbje1m79v+KTZ40hjbF8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894397; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=xttnKyvLLCUPDMH3C5PpRx7jW61EJMQ4l7HzZNAoX1k=; b=GT3otKXmhSVASHnU04BDbU1qNkMi0amLrnpTu+jjbimPIqB8qXs3AcriFvY+lOYMhUjXaPiXMf5A8Sc9Jg5jlbC/1Rz/pR2CcTU3GPsetZGVPSGsrQNEugyGi9+VTD8EDtpnYKlwQEfI08GiqEQ8NTsREnJ96wQUZ4NXkq7DQCg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1594894397485766.6761955384039; Thu, 16 Jul 2020 03:13:17 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-66-heldV-pLN2qNe4geGRh_MQ-1; Thu, 16 Jul 2020 06:08:31 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 93394108A; Thu, 16 Jul 2020 10:08:25 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7155579500; Thu, 16 Jul 2020 10:08:25 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 42292730DC; Thu, 16 Jul 2020 10:08:25 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06GA4o3x018112 for ; Thu, 16 Jul 2020 06:04:50 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9E3062B6DB; Thu, 16 Jul 2020 10:04:50 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 172782DE6D for ; Thu, 16 Jul 2020 10:04:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894396; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=xttnKyvLLCUPDMH3C5PpRx7jW61EJMQ4l7HzZNAoX1k=; b=JIZ1YQ6qMF+4oWKVK7XhASqcq3zufaXTrlsFK7V4J5Ltnuz1LRAbhdrbfvBe8w6GV7v0TY tPVdrq+OgALl8MOC7KGlHesAbSKUGxjOIuaaQO7xTyH4/+DZRelULBYUOq9IY1kjmMGLMG seintY2e9VogwqqsM4iX1rXQ61QJV1M= X-MC-Unique: heldV-pLN2qNe4geGRh_MQ-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 187/351] meson: src: build libvirt_storage_backend_iscsi_direct.so shared module Date: Thu, 16 Jul 2020 11:57:03 +0200 Message-Id: <3dde8335bdddb8030776a16244d4473441f36154.1594891445.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- src/storage/Makefile.inc.am | 23 ----------------------- src/storage/meson.build | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/src/storage/Makefile.inc.am b/src/storage/Makefile.inc.am index 78c2e0d3bf4..47843cc5d48 100644 --- a/src/storage/Makefile.inc.am +++ b/src/storage/Makefile.inc.am @@ -1,10 +1,5 @@ # vim: filetype=3Dautomake =20 -STORAGE_DRIVER_ISCSI_DIRECT_SOURCES =3D \ - storage/storage_backend_iscsi_direct.h \ - storage/storage_backend_iscsi_direct.c \ - $(NULL) - STORAGE_DRIVER_SCSI_SOURCES =3D \ storage/storage_backend_scsi.h \ storage/storage_backend_scsi.c \ @@ -143,24 +138,6 @@ storage/test_virtstoraged.aug: remote/test_libvirtd.au= g.in \ =20 endif WITH_STORAGE =20 -if WITH_STORAGE_ISCSI_DIRECT -libvirt_storage_backend_iscsi_direct_la_SOURCES =3D \ - $(STORAGE_DRIVER_ISCSI_DIRECT_SOURCES) -libvirt_storage_backend_iscsi_direct_la_CFLAGS =3D \ - -I$(srcdir)/conf \ - $(LIBISCSI_CFLAGS) \ - $(AM_CFLAGS) \ - $(NULL) - -storagebackend_LTLIBRARIES +=3D libvirt_storage_backend_iscsi-direct.la -libvirt_storage_backend_iscsi_direct_la_LDFLAGS =3D $(AM_LDFLAGS_MOD) -libvirt_storage_backend_iscsi_direct_la_LIBADD =3D \ - libvirt.la \ - $(GLIB_LIBS) \ - $(LIBISCSI_LIBS) \ - $(NULL) -endif WITH_STORAGE_ISCSI_DIRECT - if WITH_STORAGE_SCSI libvirt_storage_backend_scsi_la_SOURCES =3D $(STORAGE_DRIVER_SCSI_SOURCES) libvirt_storage_backend_scsi_la_CFLAGS =3D \ diff --git a/src/storage/meson.build b/src/storage/meson.build index 0b0f3af3054..05b3131215c 100644 --- a/src/storage/meson.build +++ b/src/storage/meson.build @@ -20,6 +20,10 @@ storage_backend_iscsi_sources =3D [ 'storage_backend_iscsi.c', ] =20 +storage_backend_iscsi_direct_sources =3D [ + 'storage_backend_iscsi_direct.c', +] + storage_lvm_backend_sources =3D [ 'storage_backend_logical.c', ] @@ -81,6 +85,19 @@ if conf.has('WITH_STORAGE_ISCSI') } endif =20 +if conf.has('WITH_STORAGE_ISCSI_DIRECT') + virt_modules +=3D { + 'name': 'virt_storage_backend_iscsi-direct', + 'sources': [ + files(storage_backend_iscsi_direct_sources), + ], + 'deps': [ + libiscsi_dep + ], + 'install_dir': storage_backend_install_dir, + } +endif + if conf.has('WITH_STORAGE_LVM') virt_modules +=3D { 'name': 'virt_storage_backend_logical', --=20 2.26.2