From nobody Mon Feb 9 00:55:35 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.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 205.139.110.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=1594894294; cv=none; d=zohomail.com; s=zohoarc; b=atNRps5MGgoruPrwDFDYwgi7LZ9pnzHjAENT+P98kNgPtlINgYSCHlhKPdqUeadWLPiN3rTNABmtOzYsB8z7eWLc2ZjsD/zVXY2FvBtv+QDIpNe7qzs5LoLYoJNN0JY1NLgxdGnGQnaB1W5DeiPPJNWGy3GcNselWZMqOwvJnUI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894294; 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=xa8Y+ZSoa7qpTRnK9hqt5H41PBEA6Ie3/GSBC/F8m0c=; b=Z/tK+8HAPFuQ1nOpq4CKPuztLs7c8Kdbv2tdUWEy07h2RzmwMAk29RpN+YijKGCRj0Ss7dqwGCM6832W3SmvVU5+3tP06JIfru61n+TYkpTdNcfNlmM4ca83EdRNcXwisLRCileyJ5/LRjm70EvDR42MLvqAmgWSbttu4cLwRns= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.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 [205.139.110.120]) by mx.zohomail.com with SMTPS id 1594894294068294.688015494928; Thu, 16 Jul 2020 03:11:34 -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-424-OKqq1i9_NNGPe3bsctt0uA-1; Thu, 16 Jul 2020 06:09:12 -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 24E9080BCB6; Thu, 16 Jul 2020 10:09:07 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 05A0917D04; Thu, 16 Jul 2020 10:09:07 +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 C51C5180531E; Thu, 16 Jul 2020 10:09:06 +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 06GA4pal018122 for ; Thu, 16 Jul 2020 06:04:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id 85D782DE72; Thu, 16 Jul 2020 10:04:51 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 004CE2B6DB for ; Thu, 16 Jul 2020 10:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894293; 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=xa8Y+ZSoa7qpTRnK9hqt5H41PBEA6Ie3/GSBC/F8m0c=; b=U25nMm3QBCaEVeTgGnIwJvaInKNyqLlomJbJOxEdthGjESMjRoctFw4+ICOLyAtEPyrsCj BUs5UNxHmsuNDxxMWc0MWCRexSQJSjnYUzRLr56FUPhe4Q2o7lHBNUs/AHRRKH88aP1/nR KgpVGa5ATx7qB8VzjDcyuP3MrKuchDg= X-MC-Unique: OKqq1i9_NNGPe3bsctt0uA-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 188/351] meson: src: build libvirt_storage_backend_scsi.so shared module Date: Thu, 16 Jul 2020 11:57:04 +0200 Message-Id: <4507a77a86d849b003bf422a83bcfc29dc349dd2.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 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 | 20 -------------------- src/storage/meson.build | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/src/storage/Makefile.inc.am b/src/storage/Makefile.inc.am index 47843cc5d48..c502f7006b2 100644 --- a/src/storage/Makefile.inc.am +++ b/src/storage/Makefile.inc.am @@ -1,10 +1,5 @@ # vim: filetype=3Dautomake =20 -STORAGE_DRIVER_SCSI_SOURCES =3D \ - storage/storage_backend_scsi.h \ - storage/storage_backend_scsi.c \ - $(NULL) - STORAGE_DRIVER_MPATH_SOURCES =3D \ storage/storage_backend_mpath.h \ storage/storage_backend_mpath.c \ @@ -138,21 +133,6 @@ storage/test_virtstoraged.aug: remote/test_libvirtd.au= g.in \ =20 endif WITH_STORAGE =20 -if WITH_STORAGE_SCSI -libvirt_storage_backend_scsi_la_SOURCES =3D $(STORAGE_DRIVER_SCSI_SOURCES) -libvirt_storage_backend_scsi_la_CFLAGS =3D \ - -I$(srcdir)/conf \ - $(AM_CFLAGS) \ - $(NULL) - -storagebackend_LTLIBRARIES +=3D libvirt_storage_backend_scsi.la -libvirt_storage_backend_scsi_la_LDFLAGS =3D $(AM_LDFLAGS_MOD) -libvirt_storage_backend_scsi_la_LIBADD =3D \ - libvirt.la \ - $(GLIB_LIBS) \ - $(NULL) -endif WITH_STORAGE_SCSI - if WITH_STORAGE_MPATH libvirt_storage_backend_mpath_la_SOURCES =3D $(STORAGE_DRIVER_MPATH_SOURCE= S) libvirt_storage_backend_mpath_la_LIBADD =3D \ diff --git a/src/storage/meson.build b/src/storage/meson.build index 05b3131215c..3ae4ab998ba 100644 --- a/src/storage/meson.build +++ b/src/storage/meson.build @@ -28,6 +28,10 @@ storage_lvm_backend_sources =3D [ 'storage_backend_logical.c', ] =20 +storage_backend_scsi_sources =3D [ + 'storage_backend_scsi.c', +] + storage_backend_install_dir =3D libdir / 'libvirt' / 'storage-backend' storage_file_install_dir =3D libdir / 'libvirt' / 'storage-file' =20 @@ -107,3 +111,13 @@ if conf.has('WITH_STORAGE_LVM') 'install_dir': storage_backend_install_dir, } endif + +if conf.has('WITH_STORAGE_SCSI') + virt_modules +=3D { + 'name': 'virt_storage_backend_scsi', + 'sources': [ + files(storage_backend_scsi_sources), + ], + 'install_dir': storage_backend_install_dir, + } +endif --=20 2.26.2