From nobody Mon Feb 9 08:34:08 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=1594894185; cv=none; d=zohomail.com; s=zohoarc; b=UbQVnxTiJgJI+h42sDGyKWeYke0FSDmBmejwXMxCjJ7Ef+31LNdF+hGdLigwbHjLSuZyakfjdDY5eFk7/V2le4cNzliQrLtdmwQ3u7oC09tUU2b3hHOWXF9knXEU5aSRhqj68uDCiYONrzxZWu0/fUrH+AQyjjLwAQLxaeTzOUI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894185; 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=Ft2wYULo0yIooBh9G+I3P6UEIwzu2guiuc83k/EvULk=; b=ATgNt8xniUpCfqmsg5dBz+KszOP8bDX0vKBDZwGU/2N30JrNtgoo5NYGmbPZWCR/gmyQOTdX+YPD5NK7zYJI0BeDx3r9L89yJEDyY8EQtpb52d1vMnSwirBixFVPDon6QY9D7b3gGAQFfevVdGkxFxhHv+GKjU+qLt47yUTrrfM= 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-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1594894185664174.9544441600334; Thu, 16 Jul 2020 03:09:45 -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-65-vA_Rn8-kOd2unSD5xk-Nxg-1; Thu, 16 Jul 2020 06:09:42 -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 92D488027F7; Thu, 16 Jul 2020 10:09:36 +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 6E6292B6E2; Thu, 16 Jul 2020 10:09:36 +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 39DEC1804749; Thu, 16 Jul 2020 10:09:36 +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 06GA5Yn3018544 for ; Thu, 16 Jul 2020 06:05:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id 711282B6DB; Thu, 16 Jul 2020 10:05:34 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id DFDF02B6E2 for ; Thu, 16 Jul 2020 10:05:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894184; 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=Ft2wYULo0yIooBh9G+I3P6UEIwzu2guiuc83k/EvULk=; b=Hjgo6pY2tiVJlfBKp6VxKj9sgL8SmiFlFvuCGqAUM2R3hZAsocGT12irwHSBO0Hoj/Odk4 LHP7gMmfn5+Q/sSOWOu5kiQRttB0O297JByqpprkyAUjTHBnOGZXc3whieGxAXG2JOfTjD wPjiIBLOjLWwFg8KAe5lQ9p2awx7KMQ= X-MC-Unique: vA_Rn8-kOd2unSD5xk-Nxg-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 218/351] meson: src: build virt-qemu-run binary Date: Thu, 16 Jul 2020 11:57:34 +0200 Message-Id: <4a0e0ddd3ec7ba78bd22bcba8e77c3056f380c09.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 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" -export-dynamic is provided by src_dep Signed-off-by: Pavel Hrdina --- src/Makefile.am | 1 - src/qemu/Makefile.inc.am | 14 -------------- src/qemu/meson.build | 12 ++++++++++++ 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 6a8a7ea1791..8760fdf3a22 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -43,7 +43,6 @@ OPENRC_INIT_FILES =3D OPENRC_INIT_FILES_IN =3D OPENRC_CONF_FILES =3D SYSCONF_FILES =3D -bin_PROGRAMS =3D =20 COMMON_UNIT_VARS =3D \ -e 's|[@]runstatedir[@]|$(runstatedir)|g' \ diff --git a/src/qemu/Makefile.inc.am b/src/qemu/Makefile.inc.am index 129825121c7..80555d79a40 100644 --- a/src/qemu/Makefile.inc.am +++ b/src/qemu/Makefile.inc.am @@ -101,17 +101,3 @@ endif WITH_QEMU install-data-qemu \ uninstall-data-qemu \ $(NULL) - -QEMU_SHIM_SOURCES =3D qemu/qemu_shim.c - -if WITH_QEMU -bin_PROGRAMS +=3D virt-qemu-run - -virt_qemu_run_SOURCES =3D $(QEMU_SHIM_SOURCES) - -virt_qemu_run_LDADD =3D \ - libvirt.la \ - $(GLIB_LIBS) \ - $(NULL) -virt_qemu_run_LDFLAGS =3D -export-dynamic -endif WITH_QEMU diff --git a/src/qemu/meson.build b/src/qemu/meson.build index 121be3085fa..fca7cf1658f 100644 --- a/src/qemu/meson.build +++ b/src/qemu/meson.build @@ -71,6 +71,10 @@ if conf.has('WITH_DTRACE_PROBES') ) endif =20 +qemu_shim_sources =3D files( + 'qemu_shim.c', +) + if conf.has('WITH_QEMU') qemu_driver_impl =3D static_library( 'virt_driver_qemu_impl', @@ -113,4 +117,12 @@ if conf.has('WITH_QEMU') '-DMODULE_NAME=3D"qemu"', ], } + + virt_helpers +=3D { + 'name': 'virt-qemu-run', + 'sources': [ + qemu_shim_sources + ], + 'install_dir': bindir, + } endif --=20 2.26.2