From nobody Sun Feb 8 19:59:23 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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=1594894864; cv=none; d=zohomail.com; s=zohoarc; b=Z28HgzgCvS/1XxdSBG/Z+jLQZ9W7yqbYU9CSfUfCoLESOI0GDferlCxCIA9rczmuxTbMPbDg/K1+es1lbfqQYkcQmacl+kJl4DmnHLHGvJ7/IKaeAd7XPWRCYoqQy7E2IhwnquMk8z00ICKIt4Eln82iAwxF5DaWrTDEst0HbwQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894864; 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=+OM5E0HbmtZrYt2F7pd27LTfNOZJT3nLjGH4xvYSFrU=; b=Kp/kTDgTaZ2VW9lR6cBkSce9Up83i+eFuBoDYTggsvJcYqXoWTcX6yQgzId1GNXXOn2iYyFM6yxOT2w29wGApqYq4R3ngszbWVLczTwP8Bkk3tiPMuWoHNvL503or4IJl+uWNizcyyhmwntIS8E6enN3NlthfCMzmx9xC3RmOPE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1594894864039660.0813756256979; Thu, 16 Jul 2020 03:21:04 -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-19-QBsHs8gMNEGT9yss486XPQ-1; Thu, 16 Jul 2020 06:09:08 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 402E510059CF; Thu, 16 Jul 2020 10:09:02 +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 236747B41E; Thu, 16 Jul 2020 10:09:02 +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 E3C819A308; Thu, 16 Jul 2020 10:09:01 +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 06GA4k7v018054 for ; Thu, 16 Jul 2020 06:04:46 -0400 Received: by smtp.corp.redhat.com (Postfix) id ED5CC2DE81; Thu, 16 Jul 2020 10:04:46 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 62B4B2B6DB for ; Thu, 16 Jul 2020 10:04:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894862; 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=+OM5E0HbmtZrYt2F7pd27LTfNOZJT3nLjGH4xvYSFrU=; b=BW+elZZswJCt55CoKOoCMVWoLm2P+8sJcJPEot0GdTbWdLTB0bKEI+ZUIy2PNDpq2jxI1J 2dAQNuaJ9F6H5bPgzu9BKFIjx6U9wCt49Az9I4tb4OGUPVHHB9HCyBjlrx2F3tPSirbPsG udgHde54Cleiqpoubq6YPokvxNU1iuk= X-MC-Unique: QBsHs8gMNEGT9yss486XPQ-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 183/351] meson: src: build libvirt_storage_backedn_fs.so shared module Date: Thu, 16 Jul 2020 11:56:59 +0200 Message-Id: <27e7594d7a111040dfa99e8287efcc97776999eb.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.13 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 | 19 ------------------- src/storage/meson.build | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/src/storage/Makefile.inc.am b/src/storage/Makefile.inc.am index c30743a1b48..15de3311c41 100644 --- a/src/storage/Makefile.inc.am +++ b/src/storage/Makefile.inc.am @@ -1,10 +1,5 @@ # vim: filetype=3Dautomake =20 -STORAGE_DRIVER_FS_SOURCES =3D \ - storage/storage_backend_fs.h \ - storage/storage_backend_fs.c \ - $(NULL) - STORAGE_FILE_FS_SOURCES =3D \ storage/storage_file_fs.h \ storage/storage_file_fs.c \ @@ -79,7 +74,6 @@ DRIVER_SOURCE_FILES +=3D $(addprefix $(srcdir)/,$(STORAGE= _DRIVER_SOURCES)) STATEFUL_DRIVER_SOURCE_FILES +=3D \ $(addprefix $(srcdir)/,$(STORAGE_DRIVER_SOURCES)) =20 -storagebackenddir =3D $(libdir)/libvirt/storage-backend storagebackend_LTLIBRARIES =3D =20 storagefiledir =3D $(libdir)/libvirt/storage-file @@ -163,19 +157,6 @@ storage/test_virtstoraged.aug: remote/test_libvirtd.au= g.in \ > $@ || rm -f $@ =20 =20 -libvirt_storage_backend_fs_la_SOURCES =3D $(STORAGE_DRIVER_FS_SOURCES) -libvirt_storage_backend_fs_la_CFLAGS =3D \ - -I$(srcdir)/conf \ - $(AM_CFLAGS) \ - $(NULL) - -storagebackend_LTLIBRARIES +=3D libvirt_storage_backend_fs.la -libvirt_storage_backend_fs_la_LDFLAGS =3D $(AM_LDFLAGS_MOD) -libvirt_storage_backend_fs_la_LIBADD =3D \ - libvirt.la \ - $(GLIB_LIBS) \ - $(NULL) - libvirt_storage_file_fs_la_SOURCES =3D $(STORAGE_FILE_FS_SOURCES) libvirt_storage_file_fs_la_CFLAGS =3D \ -I$(srcdir)/conf \ diff --git a/src/storage/meson.build b/src/storage/meson.build index 675c8a2c827..cad3654135c 100644 --- a/src/storage/meson.build +++ b/src/storage/meson.build @@ -8,6 +8,12 @@ storage_driver_sources =3D [ storage_driver_backend_sources, ] =20 +storage_backend_fs_sources =3D [ + 'storage_backend_fs.c', +] + +storage_backend_install_dir =3D libdir / 'libvirt' / 'storage-backend' + if conf.has('WITH_STORAGE') storage_driver_impl_lib =3D static_library( 'virt_storage_driver_impl', @@ -34,4 +40,12 @@ if conf.has('WITH_STORAGE') libvirt_no_undefined, ], } + + virt_modules +=3D { + 'name': 'virt_storage_backend_fs', + 'sources': [ + files(storage_backend_fs_sources), + ], + 'install_dir': storage_backend_install_dir, + } endif --=20 2.26.2