From nobody Mon Nov 25 10:30:11 2024 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=1716567689; cv=none; d=zohomail.com; s=zohoarc; b=IjsG9SFMBGOLJRyd7d6pf15huFwvaX+PO9QOlcVI2LnNHHaYirf3abcjqBiuwbGWOKyPWYxkkUdt8o8YqPq/OgpYwtBB88b1q05euaQB/z1feBoqLmsR/XkiVmvbyeRYyNlBp+jfMAYGYXavXY/YEANzfax+xoniws2YZUA3Xjw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1716567689; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=T19z2VhLiDxwW2xj7PM4ylgGCJRFuMIgK7muAk4JXtI=; b=PscEvc1M7MFVUPSBZ2BSzrSuBuqQrDHQwe0SUJ1Q9exf0EnUD/bso0aywKzXSTx3jgpXrIPoiTN2d17nTGnlB8Pv49M8ac2izXYodeNL1WsHcG5YCUNSuYxobFtfqHj3MyvD3u1JPzQ7uJzHT3wroVpOs4C1IZ3wGh2Dso7+p2Q= 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) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1716567689581801.6064841764932; Fri, 24 May 2024 09:21:29 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAXeb-0005xn-NP; Fri, 24 May 2024 12:20:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAXea-0005wq-5Y for qemu-devel@nongnu.org; Fri, 24 May 2024 12:20:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAXeY-0006xs-82 for qemu-devel@nongnu.org; Fri, 24 May 2024 12:20:23 -0400 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-633-6fOOeuNVPi-FBENPdMDkJg-1; Fri, 24 May 2024 12:20:20 -0400 Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-5785ef2b57aso453378a12.0 for ; Fri, 24 May 2024 09:20:19 -0700 (PDT) Received: from avogadro.local ([151.95.155.52]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-578524b9e80sm1904834a12.85.2024.05.24.09.20.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 09:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1716567621; h=from:from: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; bh=T19z2VhLiDxwW2xj7PM4ylgGCJRFuMIgK7muAk4JXtI=; b=Y9xkXRl4kVv9+0SdOgvVgMZp1LJmoXs5kF0vYtePoWJRWJhszYjAiVgiu7nXqwCWoTVpDm qUROygjakqBZSAHlq4TR3lEPNkS2r0VE1KbEfLoXK9MrefVAzb5Yv6fGrp+mdc59c6XJjy 1ggksA4QrBltjY84To9Ylv+4HGf0KFk= X-MC-Unique: 6fOOeuNVPi-FBENPdMDkJg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716567618; x=1717172418; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T19z2VhLiDxwW2xj7PM4ylgGCJRFuMIgK7muAk4JXtI=; b=bt0edpmFLnrAGJsaW/y8cHWFaaVdn7vLJL6Q/2p3nk7oE2m6eU2VhHrJzoKUeU2QfZ qZzIYmOBdHH+EL0F1YsxYYZVQaAirBM5asu+/WXnNNbELz7DQ0wwEbFWI6tI0qo9sY+4 H8CkHJtuAqcpMKyzfHa+4o6aUIDl2G4CJXO40kPxgpgE0vygWmZbk+Uzq3KOxBNFu9a+ 5KqQd1mFPDd2ohEJHN9oeNxpD86eWNdwBCVajRbMmRLD94Xu+YJZlbEkrL2Jut19GLCj GD2pms5f0RgD0ZvqEaI1ZSm1XgUg1dgIikMz2kfDtngZVfyWWS5SLpopSLod7BAgsI+W OskA== X-Gm-Message-State: AOJu0YysKGr75PwwH8RE2zjPspH66/5TK8QtFvJKzmO0fmyfNqvWpLff twlaM55JO9Ls61G+wu9GQwF8t8/gjjmZHTAlJMSHJhtvLobZa8N6j90rvYn5ITOi449UOpWj8aW bF4KPJsCTJEO1gksDtAKEYi1ghsvMZhmjmkCPY1nYLxPtiG9jvQsrPXzAORGVINxt4MsWBXPX1L TD9ZWOsT8bIrRt5VjO3+8/ftC7H7W7zSpc8lYg X-Received: by 2002:a50:cd9d:0:b0:574:ffb1:eb52 with SMTP id 4fb4d7f45d1cf-578519c2f4bmr1890066a12.34.1716567618565; Fri, 24 May 2024 09:20:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1pRnOtoHrr+W35yt+VdNT6KX0JJUXAviYnbk2HjkBrALMIiXvUAhkLfepmP3rNAMTYT9lXQ== X-Received: by 2002:a50:cd9d:0:b0:574:ffb1:eb52 with SMTP id 4fb4d7f45d1cf-578519c2f4bmr1890046a12.34.1716567618080; Fri, 24 May 2024 09:20:18 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 5/5] migration: remove unnecessary zlib dependency Date: Fri, 24 May 2024 18:20:05 +0200 Message-ID: <20240524162006.1271778-6-pbonzini@redhat.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240524162006.1271778-1-pbonzini@redhat.com> References: <20240524162006.1271778-1-pbonzini@redhat.com> MIME-Version: 1.0 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=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1716567689844100001 Content-Type: text/plain; charset="utf-8" zlib code is only used by the emulators, not by the tests. Signed-off-by: Paolo Bonzini --- meson.build | 2 +- migration/dirtyrate.c | 1 - migration/qemu-file.c | 1 - migration/meson.build | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 7fd82b5f48c..63866071445 100644 --- a/meson.build +++ b/meson.build @@ -3696,7 +3696,7 @@ libmigration =3D static_library('migration', sources:= migration_files + genh, name_suffix: 'fa', build_by_default: false) migration =3D declare_dependency(link_with: libmigration, - dependencies: [zlib, qom, io]) + dependencies: [qom, io]) system_ss.add(migration) =20 block_ss =3D block_ss.apply({}) diff --git a/migration/dirtyrate.c b/migration/dirtyrate.c index d02d70b7b4b..1d9db812990 100644 --- a/migration/dirtyrate.c +++ b/migration/dirtyrate.c @@ -12,7 +12,6 @@ =20 #include "qemu/osdep.h" #include "qemu/error-report.h" -#include #include "hw/core/cpu.h" #include "qapi/error.h" #include "exec/ramblock.h" diff --git a/migration/qemu-file.c b/migration/qemu-file.c index 9ccbbb00991..b6d2f588bd7 100644 --- a/migration/qemu-file.c +++ b/migration/qemu-file.c @@ -22,7 +22,6 @@ * THE SOFTWARE. */ #include "qemu/osdep.h" -#include #include "qemu/madvise.h" #include "qemu/error-report.h" #include "qemu/iov.h" diff --git a/migration/meson.build b/migration/meson.build index 8815f808374..bdc3244bce0 100644 --- a/migration/meson.build +++ b/migration/meson.build @@ -29,7 +29,7 @@ system_ss.add(files( 'socket.c', 'tls.c', 'threadinfo.c', -), gnutls) +), gnutls, zlib) =20 if get_option('replication').allowed() system_ss.add(files('colo-failover.c', 'colo.c')) --=20 2.45.1