From nobody Sun Nov 16 23:02:12 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=1601982776; cv=none; d=zohomail.com; s=zohoarc; b=axdsaiv3wo1wkpx9nujtUfDu+h8GqdkE1kbBArW6r+hMRVt1fh5HsV3PlwpUfjfEeOabWMVFgder1sg9dirCERPjRz2qBEDxRHt4I9v2H14GemUXFm6q+CE++lcJ790LBxmvfuiVZHa4VDUEHWNxGF34WL3xz2+Cu7eytHs5o4k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601982776; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=eQzKP06SroZyy9Zd+qPK43uTNQ+3Ne7R7h8yWx4kCdE=; b=RuJcuzaOuqWRUaqJs5xvP5aD5vuCpCyICIisnuiIPLpWP1poW6d08nb71lB92zY5NqOL4hhnEfHepsWj3bXuaz8Wcz4+T31HcmclXdejg3yMZr02wftYODvQ9NpC7l/pklIL+BCP/2Jy7Gl24M/pvCTpoxB4fiEiWVlErCH4WC8= 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 16019827767121002.3665127604397; Tue, 6 Oct 2020 04:12:56 -0700 (PDT) Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-272-mKxx5_zkPGW_joNTrhkQOg-1; Tue, 06 Oct 2020 07:12:52 -0400 Received: by mail-wr1-f69.google.com with SMTP id 33so2888946wrf.22 for ; Tue, 06 Oct 2020 04:12:52 -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 u15sm4069841wrm.77.2020.10.06.04.12.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Oct 2020 04:12:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601982774; 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=eQzKP06SroZyy9Zd+qPK43uTNQ+3Ne7R7h8yWx4kCdE=; b=Qp8+oFrHTEE5k/541XnAbxKBzU70gTUFnqyb2tvpQ5Qkij8CjZOhaNHGi0qbYnZQaMWwGb QRNhzpiPCwR/Tm0a5zwcjU077jRuvai/bbsVZsliT/cyegIQW+RLQlAqqDZ9l8MvdSMOim 7CF3nAZywg3W5ajiKJcZNcG5YesMzU8= X-MC-Unique: mKxx5_zkPGW_joNTrhkQOg-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=eQzKP06SroZyy9Zd+qPK43uTNQ+3Ne7R7h8yWx4kCdE=; b=CUO+shPC06mSoTncFhbaJI4PiVT7r47KL1uYAxeXdDWXB4r1A2bA7yDeQQ/dosDYLA cTc1dW5OGIXlR+z6CDLD7Vj0rwzO9mfPyFMcEOwjLFjnhcZE6TJNuMDJbFBpj9SZWbc7 SLQS/0nhJ35pxN78SjTPepjGLl+YuasPr0MVcDLIhTZNSxrrtdy/1tg6E7r3HUxokqh9 yAUvJx3/GJXh2ZJ0Q8bKrCKAWsxzd1wdaubHegAoUH3So2JWy+X2ucOls75vVrnk4Ikz wBlznsdAM6oOeyVNJn5wi9Fr/45D89lxzwbjEtFRPUysUXvlHQDtL9BJl7VRjdIm20Yn XS6Q== X-Gm-Message-State: AOAM5314Jvli7BZEo6/VzN3YygXLNh1aLNhnpINcTsUEDfaXBBs8mpTa SoT1+b0WkZATzXZ7sJxi6pKCnJD2ZXToJz46A3+szMO5EL5WnvQXFCx5NeSGBuU2/0CjbA5VsXm dBO5lLqEF6AvHRQ== X-Received: by 2002:a1c:2ed3:: with SMTP id u202mr4236767wmu.162.1601982771603; Tue, 06 Oct 2020 04:12:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwj2DgMRyJb7iKsEcsydsn4uQUA4ZjVLyj0eRrIFKgvREU9Da1UifcbcZgtCUfZh8IMuk3ZHQ== X-Received: by 2002:a1c:2ed3:: with SMTP id u202mr4236739wmu.162.1601982771391; Tue, 06 Oct 2020 04:12:51 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , "Dr. David Alan Gilbert" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Juan Quintela , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 06/10] migration: Move the creation of the library to the main meson.build Date: Tue, 6 Oct 2020 13:12:15 +0200 Message-Id: <20201006111219.2300921-7-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201006111219.2300921-1-philmd@redhat.com> References: <20201006111219.2300921-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 | 6 ++++++ migration/meson.build | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index 6bec7a0994..55966c3b60 100644 --- a/meson.build +++ b/meson.build @@ -1328,6 +1328,12 @@ 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]) + 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 55c9e1329f..980e37865c 100644 --- a/migration/meson.build +++ b/migration/meson.build @@ -8,12 +8,6 @@ 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_files) =20 softmmu_ss.add(files( --=20 2.26.2