From nobody Sun Feb 8 14:41:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; 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 205.139.110.61 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=1594894385; cv=none; d=zohomail.com; s=zohoarc; b=VQd78Sh/FEa/T2fBO/oMzlc12TGhQ5IwI/5vjJ9lTEUDX2cSPp6Aucl2hoi0fFd1RHW4/U+cqrUJw0HqNHsq7Y3Ho3r0i0I8AhyWCor7sKPuYjQZzw/uhXiWR3ApXmlS4/i19bf7+GjlsylQ7zhv3+ZK9QQDPzkrpH1P7qWk+J0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894385; 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=6VNgdlac04vtUpuJ204eNUOdU8t8A1V/JwomwcGQj9k=; b=K65zMH4Qnysgeuc8KeFMfMAS5DHc7L3ahpt7CfXAHAjojkkmOpW5OYFIS3F77KfCQvvo4wQv7jmT4zXaCyKEif8IaOXh5LYX7NUyDw2Go9Ri50afUfqMOM3vO0dJmwEl8mL852Fn64MsFHOhfHKgjsjdKsolmOQNixGLqV34NV0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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 [205.139.110.61]) by mx.zohomail.com with SMTPS id 1594894385772495.04151549682217; Thu, 16 Jul 2020 03:13:05 -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-283-q9RCaXd0PaiFv5z_e-Ov5g-1; Thu, 16 Jul 2020 06:07:48 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 757B0100AA22; Thu, 16 Jul 2020 10:07:41 +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 502E52DE9D; Thu, 16 Jul 2020 10:07:41 +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 199B41805309; Thu, 16 Jul 2020 10:07:41 +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 06GA46RA017667 for ; Thu, 16 Jul 2020 06:04:06 -0400 Received: by smtp.corp.redhat.com (Postfix) id C32FC2DE69; Thu, 16 Jul 2020 10:04:06 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3D63D2B6DB for ; Thu, 16 Jul 2020 10:04:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894384; 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=6VNgdlac04vtUpuJ204eNUOdU8t8A1V/JwomwcGQj9k=; b=TzjZ+AdWaVRohdEfZBrsjQ4TyZ7bqyuYjL8jUL4vmeFYQsVBlkhzrbG2vpDb5n5ydohnAB GZVyNQ/71GgzbZhbuHiILdpb1bHSge8tSuQWxED/Un6tUsmlZXsusCXJ2J9X6yBwq5wnXi eo7JbvU9xTgPEo+MvhhxZufFLW1Se9E= X-MC-Unique: q9RCaXd0PaiFv5z_e-Ov5g-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 158/351] meson: src: build libvirt_driver_libxl_impl.a static library Date: Thu, 16 Jul 2020 11:56:34 +0200 Message-Id: <154c8264363e4c0df8a7653f33169b9ce6f312d8.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.84 on 10.5.11.23 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/libxl/Makefile.inc.am | 39 --------------------------------------- src/libxl/meson.build | 29 +++++++++++++++++++++++++++++ src/meson.build | 1 + 3 files changed, 30 insertions(+), 39 deletions(-) create mode 100644 src/libxl/meson.build diff --git a/src/libxl/Makefile.inc.am b/src/libxl/Makefile.inc.am index db1f51e3ef8..c7ac93a75b7 100644 --- a/src/libxl/Makefile.inc.am +++ b/src/libxl/Makefile.inc.am @@ -1,32 +1,9 @@ # vim: filetype=3Dautomake =20 -LIBXL_DRIVER_SOURCES =3D \ - libxl/xenxs_private.h \ - libxl/xen_common.c \ - libxl/xen_common.h \ - libxl/xen_xl.c \ - libxl/xen_xl.h \ - libxl/xen_xm.c \ - libxl/xen_xm.h \ - libxl/libxl_conf.c \ - libxl/libxl_conf.h \ - libxl/libxl_capabilities.c \ - libxl/libxl_capabilities.h \ - libxl/libxl_domain.c \ - libxl/libxl_domain.h \ - libxl/libxl_driver.c \ - libxl/libxl_driver.h \ - libxl/libxl_logger.c \ - libxl/libxl_logger.h \ - libxl/libxl_migration.c \ - libxl/libxl_migration.h \ - $(NULL) - DRIVER_SOURCE_FILES +=3D $(addprefix $(srcdir)/,$(LIBXL_DRIVER_SOURCES)) STATEFUL_DRIVER_SOURCE_FILES +=3D $(addprefix $(srcdir)/,$(LIBXL_DRIVER_SO= URCES)) =20 if WITH_LIBXL -noinst_LTLIBRARIES +=3D libvirt_driver_libxl_impl.la libvirt_driver_libxl_la_SOURCES =3D libvirt_driver_libxl_la_LIBADD =3D \ libvirt_driver_libxl_impl.la \ @@ -36,22 +13,6 @@ libvirt_driver_libxl_la_LIBADD =3D \ mod_LTLIBRARIES +=3D libvirt_driver_libxl.la libvirt_driver_libxl_la_LDFLAGS =3D $(AM_LDFLAGS_MOD_NOUNDEF) =20 -libvirt_driver_libxl_impl_la_CFLAGS =3D \ - $(LIBXL_CFLAGS) \ - $(LIBXML_CFLAGS) \ - -I$(srcdir)/access \ - -I$(builddir)/access \ - -I$(srcdir)/conf \ - -I$(srcdir)/hypervisor \ - $(AM_CFLAGS) \ - $(NULL) -libvirt_driver_libxl_impl_la_LDFLAGS =3D $(AM_LDFLAGS) -libvirt_driver_libxl_impl_la_LIBADD =3D \ - $(LIBXL_LIBS) \ - $(LIBXML_LIBS) \ - $(NULL) -libvirt_driver_libxl_impl_la_SOURCES =3D $(LIBXL_DRIVER_SOURCES) - sbin_PROGRAMS +=3D virtxend =20 nodist_conf_DATA +=3D libxl/virtxend.conf diff --git a/src/libxl/meson.build b/src/libxl/meson.build new file mode 100644 index 00000000000..7747bb61a75 --- /dev/null +++ b/src/libxl/meson.build @@ -0,0 +1,29 @@ +libxl_driver_sources =3D [ + 'libxl_capabilities.c', + 'libxl_conf.c', + 'libxl_domain.c', + 'libxl_driver.c', + 'libxl_logger.c', + 'libxl_migration.c', + 'xen_common.c', + 'xen_xl.c', + 'xen_xm.c', +] + +if conf.has('WITH_LIBXL') + libxl_driver_imp =3D static_library( + 'virt_driver_libxl_impl', + [ + libxl_driver_sources, + ], + dependencies: [ + access_dep, + libxl_dep, + src_dep, + ], + include_directories: [ + conf_inc_dir, + hypervisor_inc_dir, + ], + ) +endif diff --git a/src/meson.build b/src/meson.build index ca94fe64bd9..44992fac02b 100644 --- a/src/meson.build +++ b/src/meson.build @@ -148,6 +148,7 @@ subdir('security') subdir('bhyve') subdir('esx') subdir('hyperv') +subdir('libxl') subdir('openvz') subdir('test') subdir('vmware') --=20 2.26.2