From nobody Mon Feb 9 22:38:00 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1597397747; cv=none; d=zohomail.com; s=zohoarc; b=nZxaSMfy5NOCMbmq7yalO20kfQlasPz8ciWXFTPVtGz6pngtxN/pcaRMlcIScwR2pmVFeh21cSaJU8gc65YAmaVt1rnz6nBWjMGvKhMcvH8cLulSTpF6Bcvs5jz2BZebe1F3XsE4S1mM1Wm2301u42fjCB89qqn3AkPDBRZ2LkM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597397747; h=Content-Type:Content-Transfer-Encoding:Cc: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=K6vc2ieJcXZ0len1sTSdIB78h1DcqoY0i54u1muI7sI=; b=YCClCs8Ra3VoHNTo+vLDvo9kqhWOzGTtCKg9owaTLorfJpVzCHAnEPAGBd4jvo7IlNDrTcWvf4aPB5Rmu43mL0ctvVYtoVKvoJTD8fHIMuNMMXNY09XbsZSWps+zeMuZpMSRvQTbwBP6CKmDFpRixRSq//DPSTT93yi/PcMDRJQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1597397747437992.4476486165884; Fri, 14 Aug 2020 02:35:47 -0700 (PDT) Received: from localhost ([::1]:37994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6W7l-0001Rl-Nn for importer@patchew.org; Fri, 14 Aug 2020 05:35:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6Vn5-0006Cp-6d for qemu-devel@nongnu.org; Fri, 14 Aug 2020 05:14:23 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:44733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1k6Vn1-0002yb-19 for qemu-devel@nongnu.org; Fri, 14 Aug 2020 05:14:22 -0400 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-335-kAkfiorBOReteeShBA4o6g-1; Fri, 14 Aug 2020 05:14:16 -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 73B5D801AC4 for ; Fri, 14 Aug 2020 09:14:15 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 25EAE5D9D2; Fri, 14 Aug 2020 09:14:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597396458; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K6vc2ieJcXZ0len1sTSdIB78h1DcqoY0i54u1muI7sI=; b=WMFkWvYDxLQEbGkA3uWVavlrK/mDJle5gMfLawIZ27miPdlG31ISW2d4XEniTx0PU7vaFe vPcKurEvw7/v2AREQCMbSR6WzoCHLAac0NQJlik9r0Z5QuDzAvVtGcGVj9zV+6Yl93nqIy QqOc9n0qqo1MnSy1I9dlnP7agzNRFCo= X-MC-Unique: kAkfiorBOReteeShBA4o6g-1 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 065/150] meson: qemu-{img,io,nbd} Date: Fri, 14 Aug 2020 05:12:01 -0400 Message-Id: <20200814091326.16173-66-pbonzini@redhat.com> In-Reply-To: <20200814091326.16173-1-pbonzini@redhat.com> References: <20200814091326.16173-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=216.205.24.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/14 05:13:42 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) From: Marc-Andr=C3=A9 Lureau Signed-off-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Paolo Bonzini --- Makefile | 5 ----- configure | 3 +-- meson.build | 14 ++++++++++++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 4abc29cd59..e67fe52ed3 100644 --- a/Makefile +++ b/Makefile @@ -280,11 +280,6 @@ Makefile: $(version-obj-y) =20 COMMON_LDADDS =3D libqemuutil.a =20 -qemu-img.o: qemu-img-cmds.h - -qemu-img$(EXESUF): qemu-img.o $(authz-obj-y) $(block-obj-y) $(crypto-obj-y= ) $(io-obj-y) $(qom-obj-y) $(COMMON_LDADDS) -qemu-nbd$(EXESUF): qemu-nbd.o $(authz-obj-y) $(block-obj-y) $(crypto-obj-y= ) $(io-obj-y) $(qom-obj-y) $(COMMON_LDADDS) -qemu-io$(EXESUF): qemu-io.o $(authz-obj-y) $(block-obj-y) $(crypto-obj-y) = $(io-obj-y) $(qom-obj-y) $(COMMON_LDADDS) qemu-storage-daemon$(EXESUF): qemu-storage-daemon.o $(authz-obj-y) $(block= -obj-y) $(crypto-obj-y) $(chardev-obj-y) $(io-obj-y) $(qom-obj-y) $(storage= -daemon-obj-y) $(COMMON_LDADDS) =20 scsi/qemu-pr-helper$(EXESUF): scsi/qemu-pr-helper.o scsi/utils.o $(authz-o= bj-y) $(crypto-obj-y) $(io-obj-y) $(qom-obj-y) $(COMMON_LDADDS) diff --git a/configure b/configure index 966351314f..cc5a44d7e0 100755 --- a/configure +++ b/configure @@ -6670,9 +6670,8 @@ fi tools=3D"" helpers=3D"" if test "$want_tools" =3D "yes" ; then - tools=3D"qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools" if [ "$linux" =3D "yes" -o "$bsd" =3D "yes" -o "$solaris" =3D "yes" ] ; = then - tools=3D"qemu-nbd\$(EXESUF) qemu-storage-daemon\$(EXESUF) $tools" + tools=3D"qemu-storage-daemon\$(EXESUF) $tools" fi fi if test "$softmmu" =3D yes ; then diff --git a/meson.build b/meson.build index dabba7e452..f19b18077c 100644 --- a/meson.build +++ b/meson.build @@ -346,7 +346,7 @@ if have_system ] endif foreach d : hx_headers - custom_target(d[1], + hxdep +=3D custom_target(d[1], input: files(d[0]), output: d[1], capture: true, @@ -555,7 +555,8 @@ libblock =3D static_library('block', block_ss.sources(), build_by_default: false) =20 block =3D declare_dependency(link_whole: [libblock], - link_args: '@block.syms') + link_args: '@block.syms', + dependencies: [crypto, io]) =20 foreach m : mods shared_module(m['dir'] + '-' + m['name'], @@ -633,6 +634,15 @@ if 'CONFIG_GUEST_AGENT' in config_host endif =20 if have_tools + qemu_img =3D executable('qemu-img', [files('qemu-img.c'), hxdep], + dependencies: [authz, block, crypto, io, qom, qemuutil], inst= all: true) + qemu_io =3D executable('qemu-io', files('qemu-io.c'), + dependencies: [block, qemuutil], install: true) + if host_machine.system() =3D=3D 'linux' or host_machine.system() =3D=3D = 'sunos' or host_machine.system().endswith('bsd') + qemu_nbd =3D executable('qemu-nbd', files('qemu-nbd.c'), + dependencies: [block, qemuutil], install: true) + endif + subdir('contrib/rdmacm-mux') subdir('contrib/elf2dmp') =20 --=20 2.26.2