From nobody Sat Oct 4 20:33:20 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1601988994; cv=none; d=zohomail.com; s=zohoarc; b=fC7Lk1WtotvS/pOju7TKISu4hpj8ylQJ64baCdD1SsbtNNCgJL4Uc2rnlB3s8uUUxB11Pno5N03CSBfCMOXGoeE28CHTztsTt4jatAw4tKQgqJldhN3utf5v9wYoR+2oZ0z8Q1rh9MOcvphnV+SpEIsr9pmwoBgtH0r1sOoGhZU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601988994; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=+civm+lmzYKDJ7YA3YOOXf6dQ0UsRfqcLEm+1Urmtw8=; b=EGltdF/wHkuSVTwlPdTytgy/TdNaf+r7l2TzCUMuO+NGtb1eXx5DynjBhNJJ92rCt8Nkr0yLau6bvQhH+Od8Wcs/ZwkL+x+fve8fDayiPl1nP0GcFr+y8FN1+AtyPqDT1G2okL9UJs72qd72T193LgqVtuH0uMXQ6E/yPWe27Uo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1601988994498781.7721428749566; Tue, 6 Oct 2020 05:56:34 -0700 (PDT) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-536-G-iTyCD7PzC3_RLODUG1Zg-1; Tue, 06 Oct 2020 08:56:31 -0400 Received: by mail-wr1-f70.google.com with SMTP id v12so5325320wrm.9 for ; Tue, 06 Oct 2020 05:56:31 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (106.red-83-59-162.dynamicip.rima-tde.net. [83.59.162.106]) by smtp.gmail.com with ESMTPSA id b11sm4322492wrt.38.2020.10.06.05.56.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Oct 2020 05:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601988993; 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=+civm+lmzYKDJ7YA3YOOXf6dQ0UsRfqcLEm+1Urmtw8=; b=bg0BAEmELH2IGCH7mnVT4tg+3vRBvQfENBDa/TLrqq6LwcV6StTi16SIxDwu5lx8U74z7D adUgE7114XOuXyuy/07bk0qXauGU9Zjs4X50siu2yUSJGBO2PGZ3AMcFBKJpryj8kh+4MX /MLRqcLvu2BBH9COl4bpGYm1uDfOBmY= X-MC-Unique: G-iTyCD7PzC3_RLODUG1Zg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+civm+lmzYKDJ7YA3YOOXf6dQ0UsRfqcLEm+1Urmtw8=; b=R4PVkPN0KCEH96zrJNZecxG79cUsEB8yOni3vhr9pnHHwY6dftXjnMZPfntdNfiFiV CYPzP7uSllnFT+yvrxlLdiZb0bbruuHukUg/VIOiL3iasz9gmST/TGmOKL5x5grf36Bi 4Nei00CE/1/9qRfTJJNoUaJBFDlL4Y7HzJ9CT60suVrcwnMyjzdULX/ypw+w4Fe0ACbZ lKoQ90xHo1WovFvo0w7z3XcXg9s3qPyQwUvaIo45OgZUchdNHOYehlUMhuqmMLsoDFCS WAF+CCcb7OIjApKp8EnOG+FqCruEkUU5K79odTu2ig02rWX2elA3s7mjlVAT58FBt282 YCVA== X-Gm-Message-State: AOAM533ygfYajMsW/cxP3dBxJAFiHPEiH6MWbkLH3BBrya9+R8SAL1UI Zg3eD8ZCF/3V9qllgf2qekBIhUWnYFUjhV9D0DEW9ues3diky408K/YzkMn641QAvYxgu+Ubve8 jhTLYg9Ah93dOyg== X-Received: by 2002:a05:600c:c5:: with SMTP id u5mr4621350wmm.14.1601988990457; Tue, 06 Oct 2020 05:56:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBBR0nks+OH7sHMF017w1FYq4pUfMy/bUhEy3McUfY03FAVeOwyySBY/4nz4VfzW+Btxe7zA== X-Received: by 2002:a05:600c:c5:: with SMTP id u5mr4621334wmm.14.1601988990293; Tue, 06 Oct 2020 05:56:30 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Dr. David Alan Gilbert" , Juan Quintela , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 5/9] migration: Move the creation of the library to the main meson.build Date: Tue, 6 Oct 2020 14:55:58 +0200 Message-Id: <20201006125602.2311423-6-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201006125602.2311423-1-philmd@redhat.com> References: <20201006125602.2311423-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Be consistent creating all the libraries in the main meson.build file. Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 7 +++++++ migration/meson.build | 8 +------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 3c0d7b4d44..0e3598e267 100644 --- a/meson.build +++ b/meson.build @@ -1328,6 +1328,13 @@ qemu_syms =3D custom_target('qemu.syms', output: 'qe= mu.syms', # Library dependencies # ######################## =20 +libmigration =3D static_library('migration', sources: migration_files + ge= nh, + name_suffix: 'fa', + build_by_default: false) +migration =3D declare_dependency(link_with: libmigration, + dependencies: [zlib, qom, io]) +softmmu_ss.add(migration) + block_ss =3D block_ss.apply(config_host, strict: false) libblock =3D static_library('block', block_ss.sources() + genh, dependencies: block_ss.dependencies(), diff --git a/migration/meson.build b/migration/meson.build index b5b71c8060..980e37865c 100644 --- a/migration/meson.build +++ b/migration/meson.build @@ -8,13 +8,7 @@ migration_files =3D files( 'qemu-file.c', 'qjson.c', ) - -libmigration =3D static_library('migration', sources: migration_files + ge= nh, - name_suffix: 'fa', - build_by_default: false) -migration =3D declare_dependency(link_with: libmigration, - dependencies: [zlib, qom, io]) -softmmu_ss.add(migration) +softmmu_ss.add(migration_files) =20 softmmu_ss.add(files( 'block-dirty-bitmap.c', --=20 2.26.2