From patchwork Mon Sep 7 19:50:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?572X5YuH5YiaKFlvbmdnYW5nIEx1byk=?= X-Patchwork-Id: 306000 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_INVALID, DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57E7EC43461 for ; Mon, 7 Sep 2020 19:51:43 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CA7542145D for ; Mon, 7 Sep 2020 19:51:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OQGkVH/7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA7542145D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:34874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFNAz-0008Ir-VC for qemu-devel@archiver.kernel.org; Mon, 07 Sep 2020 15:51:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNA6-0006zG-4y for qemu-devel@nongnu.org; Mon, 07 Sep 2020 15:50:46 -0400 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:45461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFNA4-0006Yp-Gl for qemu-devel@nongnu.org; Mon, 07 Sep 2020 15:50:45 -0400 Received: by mail-pf1-x441.google.com with SMTP id k15so9075675pfc.12 for ; Mon, 07 Sep 2020 12:50:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QPausshj3ZNkBQJCNUTx4EMdHd3D/97lV817rLbvoFk=; b=OQGkVH/7Bqso913pf2wWr2CqPmcy6YDHWMVy74rfZ3Dk6d1Jr+B1svQWHh8WNzr1g4 o0Il4IephQlQk69ebygh1m1nZjgEhq+QKo1Xr9TVrgH9nTupdtV4+Y9CPrcUGAAQ15fY Gn8O8SSdlGilhExgBs1L/OwuTsTz5WcBMEkeBB6A67YxtXUi2qeT+6R3eN4SPj27bJBx 0f1EkhtCn5JO24kBrRyK+7hI73C15FJuafDgE8Y/8xcxQ4+WrfCwM4uzU5zKsJI/nZpt OuTeSykoZn1uz2LgxVPlPBFOF5MdbG007GK/+ZYqbLpFf9/YoBlzzaYOtnwzJGe/T10y uppA== 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=QPausshj3ZNkBQJCNUTx4EMdHd3D/97lV817rLbvoFk=; b=f1Y+p2oQj3oJa18u9o56KMEPy9qeiiaYJm4up/ErrqmpvBkuX2Vge5F9Z3q/MctvFV rjJH97mkYRC6ASHyGxbYgEGEiLzHcBLcN68Ji3xDViQJaVZpO4VICZ/RuJwmU2xv8n7I ffOIVV29Magg/4AdY43GURwGbs8gocT5ZXXNvX+Y1QDq3mwnj+J2kIXXnUe8B0UK1pBO OLhA0JZY5k0fYgkWe2qJeWLSykWnzRyJH6QiCsHnbS2MLy123gy5Rikv9TtCIdbCAtnc K8MVp/Hor2RtrlRU++l8AfApySEo3LbHcJvyjAE9VqeV2rnkVz0C8JHmZ6VhUpu/NYeG hJKw== X-Gm-Message-State: AOAM530WRWbJ0nOZk/DCK+nMfMzbFFhRLWxn2mwx+/5rhFekoMXRCHFq GR11lEJLfxs/w+0Cq7k5bZjWkG4Dt3D0HGQG X-Google-Smtp-Source: ABdhPJybQe3QUBHFZP+o0o+QFkflTeN5Th89Y9iNTaP2RqvUQeH/MSxyyLH3u27TB3qNChQf63fw4A== X-Received: by 2002:a63:5b64:: with SMTP id l36mr1885842pgm.413.1599508242788; Mon, 07 Sep 2020 12:50:42 -0700 (PDT) Received: from localhost.localdomain ([222.95.248.6]) by smtp.googlemail.com with ESMTPSA id ev19sm4818990pjb.42.2020.09.07.12.50.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 12:50:42 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v3 1/4] vmstate: Trying fixes test-vmstate.c Date: Tue, 8 Sep 2020 03:50:22 +0800 Message-Id: <20200907195025.2308-2-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200907195025.2308-1-luoyonggang@gmail.com> References: <20200907195025.2308-1-luoyonggang@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::441; envelope-from=luoyonggang@gmail.com; helo=mail-pf1-x441.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Yonggang Luo , "Dr . David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The vmstate should be valid on win32 Signed-off-by: Yonggang Luo --- tests/test-vmstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-vmstate.c b/tests/test-vmstate.c index f8de709a0b..4c453575bb 100644 --- a/tests/test-vmstate.c +++ b/tests/test-vmstate.c @@ -34,7 +34,6 @@ #include "qemu/module.h" #include "io/channel-file.h" -static char temp_file[] = "/tmp/vmst.test.XXXXXX"; static int temp_fd; @@ -1487,6 +1486,7 @@ static void test_tmp_struct(void) int main(int argc, char **argv) { + g_autofree char* temp_file = g_strdup_printf("%s/vmst.test.XXXXXX", g_get_tmp_dir()); temp_fd = mkstemp(temp_file); module_call_init(MODULE_INIT_QOM); From patchwork Mon Sep 7 19:50:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?572X5YuH5YiaKFlvbmdnYW5nIEx1byk=?= X-Patchwork-Id: 274325 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_INVALID, DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDEE1C433E2 for ; Mon, 7 Sep 2020 19:51:45 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5C9202145D for ; Mon, 7 Sep 2020 19:51:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SaAAp/LU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5C9202145D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:35008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFNB2-0008M7-Hp for qemu-devel@archiver.kernel.org; Mon, 07 Sep 2020 15:51:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNA8-000744-S7 for qemu-devel@nongnu.org; Mon, 07 Sep 2020 15:50:48 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:46243) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFNA7-0006d4-6J for qemu-devel@nongnu.org; Mon, 07 Sep 2020 15:50:48 -0400 Received: by mail-pf1-x42c.google.com with SMTP id b124so9069730pfg.13 for ; Mon, 07 Sep 2020 12:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iJ6QI4m7DsgRi/lAvD95Zw1TA6Kk8bxB1iMoGihMwx0=; b=SaAAp/LUHHDEj9yOLRAq0uMXnY8SognxdUA4r7PemLgHKV3qRDF44uAeLWhV48XQY8 STZ0uZSX4rk47WmfZNgPO4KG1X7y7J1vL0ZjKQ24VGdtKFhZ858UeFebA3fD0AIeJB8n RBCArDbp6TsqnRnUGp3dCYh9RYKCskVlhe/CMpd+6kwQVw26avpjudvuZXoSgey6R3Oc IYIdi4VaMo/ie2UcvW7QtCR1ZyxLxXcPvcaAI5vcOJAbFYubWS9sBDyBCBaQWo/2x7PZ Y6QDUZGjT8fxGDgeR0F3dxornVdc2TmJxYfrfAWhzNEFKtIYe7yU31uCn/A3AWvT8Jti /O6g== 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=iJ6QI4m7DsgRi/lAvD95Zw1TA6Kk8bxB1iMoGihMwx0=; b=ngD6q6LHep4mpHXYLxfIGJHA3fcziKKRljfVgGvPHVheYcLfhDn3RmJDUsPIGa59Mt TjXDV4at/oU/yQAMg8CpCd370qgYCt806EN+rAnd7eZ2leOsrXsWJ4KP88saB6B8pdl8 sXuxYAMO/0NAfRNUSZx/G7SyhXnJGYfse+2+Bd4YFjwMGS3J0jXasm/2i+HEa7zMkf7j 9Xtg9+Q4KGeW5C9cpYBxrnlQiQFIcunNRQmyHuMZgydr1jzwN1AoEW5VTc+wkKKnXq+U P2RhIEVFNUHBx6nJp6O1p3QVwgeUQ2PaB8599jim5cdmexrOOw9QwiEtveZtF177jjJB FWKw== X-Gm-Message-State: AOAM533Rrh2e5XH2WnxEm0uBO54SK72WsUFQpuTfxgywLjgFCmNwO1Sc HfFsOwMCCdcsiw60qSqiKYZj5gpG/hmq5ZkN X-Google-Smtp-Source: ABdhPJz+vpIejBWOOoB76rSgtAlAEkcABYnIqbTyj/BhNtVDBCvsI2YnriD0lkJwkfLqdrpk5/YnLQ== X-Received: by 2002:a17:902:aa89:: with SMTP id d9mr21032751plr.192.1599508245224; Mon, 07 Sep 2020 12:50:45 -0700 (PDT) Received: from localhost.localdomain ([222.95.248.6]) by smtp.googlemail.com with ESMTPSA id ev19sm4818990pjb.42.2020.09.07.12.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 12:50:44 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v3 2/4] meson: Fixes jemalloc and tcmalloc can not building. Date: Tue, 8 Sep 2020 03:50:23 +0800 Message-Id: <20200907195025.2308-3-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200907195025.2308-1-luoyonggang@gmail.com> References: <20200907195025.2308-1-luoyonggang@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=luoyonggang@gmail.com; helo=mail-pf1-x42c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Yonggang Luo , "Dr . David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Currently, the LIBS are not exposed to meson and meson didn't use that Use base_lib = declare_dependency(link_args: config_host['LIBS'].split()) to force use it Signed-off-by: Yonggang Luo Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
--- configure | 9 +++++++++ meson.build | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 823756f4a4..7b2f3d64b0 100755 --- a/configure +++ b/configure @@ -7245,6 +7245,14 @@ if test "$libxml2" = "yes" ; then echo "LIBXML2_LIBS=$libxml2_libs" >> $config_host_mak fi +if test "$tcmalloc" = "yes" ; then + echo "CONFIG_TCMALLOC=y" >> $config_host_mak +fi + +if test "$jemalloc" = "yes" ; then + echo "CONFIG_JEMALLOC=y" >> $config_host_mak +fi + if test "$replication" = "yes" ; then echo "CONFIG_REPLICATION=y" >> $config_host_mak fi @@ -7416,6 +7424,7 @@ echo "PKG_CONFIG=$pkg_config_exe" >> $config_host_mak echo "WINDRES=$windres" >> $config_host_mak echo "CFLAGS=$CFLAGS" >> $config_host_mak echo "CFLAGS_NOPIE=$CFLAGS_NOPIE" >> $config_host_mak +echo "LIBS=$LIBS" >> $config_host_mak echo "QEMU_CFLAGS=$QEMU_CFLAGS" >> $config_host_mak echo "QEMU_CXXFLAGS=$QEMU_CXXFLAGS" >> $config_host_mak echo "QEMU_INCLUDES=$QEMU_INCLUDES" >> $config_host_mak diff --git a/meson.build b/meson.build index 5421eca66a..6e909213ee 100644 --- a/meson.build +++ b/meson.build @@ -116,6 +116,9 @@ endif # grandfathered in from the QEMU Makefiles. add_project_arguments(config_host['GLIB_CFLAGS'].split(), native: false, language: ['c', 'cpp', 'objc']) + +base_lib = declare_dependency(link_args: config_host['LIBS'].split()) + glib = declare_dependency(link_args: config_host['GLIB_LIBS'].split()) gio = not_found if 'CONFIG_GIO' in config_host @@ -818,7 +821,7 @@ util_ss.add_all(trace_ss) util_ss = util_ss.apply(config_all, strict: false) libqemuutil = static_library('qemuutil', sources: util_ss.sources() + stub_ss.sources() + genh, - dependencies: [util_ss.dependencies(), m, glib, socket]) + dependencies: [util_ss.dependencies(), m, base_lib, glib, socket]) qemuutil = declare_dependency(link_with: libqemuutil, sources: genh + version_res) From patchwork Mon Sep 7 19:50:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?572X5YuH5YiaKFlvbmdnYW5nIEx1byk=?= X-Patchwork-Id: 274324 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_INVALID, DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4B0BC433E2 for ; Mon, 7 Sep 2020 19:52:52 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 42BF421556 for ; Mon, 7 Sep 2020 19:52:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lsV8rnmh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 42BF421556 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:40722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFNC7-0002D5-EO for qemu-devel@archiver.kernel.org; Mon, 07 Sep 2020 15:52:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNAB-00078Z-03 for qemu-devel@nongnu.org; Mon, 07 Sep 2020 15:50:51 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:45617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFNA9-0006eN-DK for qemu-devel@nongnu.org; Mon, 07 Sep 2020 15:50:50 -0400 Received: by mail-pg1-x530.google.com with SMTP id 67so8441776pgd.12 for ; Mon, 07 Sep 2020 12:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LvgBmVo5Tzfa2ETkxK8CQ+jBfbey6Ap12eTwlbT45c8=; b=lsV8rnmh3jy16Zhzfcu+krTZUipYE4fSkmE4vUDh2XDFFI2PDEVbnA2ifBmo/ypFzo o2boICgLwel9d4IPx6E4+sHEFlFwtivalbOGGiZ1q5VCAP7HYgbFNOThjJSz7Jhg1PgY 5RokD19IYjP5/ab/hyxH3jgGiulg5/K5hT33x98RQy/YHKMcxAF78MFUZfypAu8aT6Yy 3oXMX083NLT9qXAv4f6miZh4i3NYwNhvfX/JbJM0i3PWQRFBaXANvG7l1DRL44rLFJId 9yGheNx3EW+0YRftWXUgAxuKsOfgN7yWKf3hhh3NvLCWVJCQ+oKu1DkcelAMGa2hkAWI Pjuw== 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=LvgBmVo5Tzfa2ETkxK8CQ+jBfbey6Ap12eTwlbT45c8=; b=GAshK99ma0BxOLe7ic6TGj3cAGtV3VycXxB2wwYUij29eF3opCL7s3UIdfvFz9ZgmL qmJL5fi2iKU+/NZ4mdPtZ7ZROcEE7gSzTCCImip9K8BSeWOQCjYgOyj1TGzqUKVxIhO1 ODMwKdan2kws+NhSumD8nj6XGg4LoCrGckZIDjjEGl7U9WeScDJr5GJb2FX/7SC02e/e zLSSRnijzQXIDqn8vCDoKug3WApeei24krXS/w5WqTIqZLa7APSuqqTrcrlRT0sdYTaE /3C8M/K6ZtD0ct20vNRsXXFw67W3B4O8F80zKqFZ+FHnILTU3rE8xsOLqOccMDvzmhEs wfmw== X-Gm-Message-State: AOAM533MLzZNcgPFh4+JjNZC+W64B3bDjJqilfRFZD3fz1HTWRE19wx9 +VVLzRsploLQ0V/uhfI4DTQtQQyiZ6VZp11h X-Google-Smtp-Source: ABdhPJxjoSoztLlhvL1WtEgnRnGwwMgzBrAW7pVdGf7Yp3OhU3gqt43MKsTLpG/6vkSadWMhQmKDmA== X-Received: by 2002:a17:902:bc44:: with SMTP id t4mr19673305plz.77.1599508247620; Mon, 07 Sep 2020 12:50:47 -0700 (PDT) Received: from localhost.localdomain ([222.95.248.6]) by smtp.googlemail.com with ESMTPSA id ev19sm4818990pjb.42.2020.09.07.12.50.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 12:50:46 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v3 3/4] meson: remove empty else and duplicated gio deps Date: Tue, 8 Sep 2020 03:50:24 +0800 Message-Id: <20200907195025.2308-4-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200907195025.2308-1-luoyonggang@gmail.com> References: <20200907195025.2308-1-luoyonggang@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=luoyonggang@gmail.com; helo=mail-pg1-x530.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Yonggang Luo , "Dr . David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Yonggang Luo --- meson.build | 6 ------ 1 file changed, 6 deletions(-) diff --git a/meson.build b/meson.build index 6e909213ee..d6a1949b2f 100644 --- a/meson.build +++ b/meson.build @@ -320,7 +320,6 @@ opengl = not_found if 'CONFIG_OPENGL' in config_host opengl = declare_dependency(compile_args: config_host['OPENGL_CFLAGS'].split(), link_args: config_host['OPENGL_LIBS'].split()) -else endif gtk = not_found if 'CONFIG_GTK' in config_host @@ -347,11 +346,6 @@ if 'CONFIG_ICONV' in config_host iconv = declare_dependency(compile_args: config_host['ICONV_CFLAGS'].split(), link_args: config_host['ICONV_LIBS'].split()) endif -gio = not_found -if 'CONFIG_GIO' in config_host - gio = declare_dependency(compile_args: config_host['GIO_CFLAGS'].split(), - link_args: config_host['GIO_LIBS'].split()) -endif vnc = not_found png = not_found jpeg = not_found From patchwork Mon Sep 7 19:50:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?572X5YuH5YiaKFlvbmdnYW5nIEx1byk=?= X-Patchwork-Id: 305998 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_INVALID, DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BFEEC433E2 for ; Mon, 7 Sep 2020 19:53:56 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B55FE2145D for ; Mon, 7 Sep 2020 19:53:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kxwMNcjh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B55FE2145D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:44018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFND8-0003bi-Rt for qemu-devel@archiver.kernel.org; Mon, 07 Sep 2020 15:53:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNAD-0007Dp-Cb for qemu-devel@nongnu.org; Mon, 07 Sep 2020 15:50:53 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:45464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFNAB-0006fU-OT for qemu-devel@nongnu.org; Mon, 07 Sep 2020 15:50:53 -0400 Received: by mail-pf1-x442.google.com with SMTP id k15so9075850pfc.12 for ; Mon, 07 Sep 2020 12:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vW7y4R3ozlAHvAmLjvFb89QIuPrCd9TtTePNKyjjAI8=; b=kxwMNcjh8lvQzem/TUJ8HPkq5CHr1NKpny88nCRM0hsWPXFYSBNycoag2wJTJD8AJT cz2BC9lDgHdLvH+ftyrvz7Lw26GbHAy8buF4xKIUlR10KKgEkwoa4BjyvEUW593Uw0wp kllE/mCnhiAAMkox7qZiE3IaowThocHNrIa6/yimFzkdZJhpsE6i1AsMVUyf25+2cCbb IXXXzK+RLTLBr/EiC41CkELzKI5hozDegVCr6ZAO6JUJS/DTlbnxHsmLOKp4sSeC/eSk aafvLDUWDU4XsGMd6ACx+JHiXuGvSSEweLX1PkmeJiyflj1pcU1maFZp6nBOk87IPW2j pmIg== 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=vW7y4R3ozlAHvAmLjvFb89QIuPrCd9TtTePNKyjjAI8=; b=FQ0z9DzmX0rFKxzqxIYFeMXjj12X+4Oao8ot+VX7yDlFfxPr6vHPVmUaMwhuir/exx syTvhiLt6AW3Nj1xSwv4b9CtyBSi53RT3apy3lEbhVYPhLS2+U28UvfKzIk1xF3H+xRz Is82LQ/lvGNC/GSBlFXYC+2XLvdQj2QlRWidFT0HNDL1QCJmoFyEWl1Yxw9iAYWoAxp7 Z7tWJP2yQHZX1Z4Oz8+RpN+zdz4vEKh+rxL55zrYg/aG9iuvvO790XvX9zPyL0wOG73E PKpWxqYWzim/LSovWxHmcw5B8Ia907EwRemZP29mRFZqsj06h3TaTiGBPD09ifnzFfkK jpPg== X-Gm-Message-State: AOAM532BIaQmb63RGkKGgytXM/hSSSuCG0WHN9VxLaZeF9fQ8mW04z06 KHc0Yr+E6zbWSYHcluvypYgdE1hZsg2q/Nw4 X-Google-Smtp-Source: ABdhPJwdHW42MUC8CfCIKaRlhVGTM8yYJUHIxtolaWNwTjPGuVW3eiXxIU9tpI58YHaq7sOz7gkpIg== X-Received: by 2002:a65:624e:: with SMTP id q14mr18147202pgv.307.1599508250007; Mon, 07 Sep 2020 12:50:50 -0700 (PDT) Received: from localhost.localdomain ([222.95.248.6]) by smtp.googlemail.com with ESMTPSA id ev19sm4818990pjb.42.2020.09.07.12.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 12:50:49 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v3 4/4] vmstate: Enable test-vmstate on all platform: Date: Tue, 8 Sep 2020 03:50:25 +0800 Message-Id: <20200907195025.2308-5-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200907195025.2308-1-luoyonggang@gmail.com> References: <20200907195025.2308-1-luoyonggang@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::442; envelope-from=luoyonggang@gmail.com; helo=mail-pf1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Yonggang Luo , "Dr . David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Yonggang Luo --- tests/meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index 7f27a15cee..39fa822be3 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -185,11 +185,9 @@ if have_system 'test-timed-average': [], 'test-util-sockets': ['socket-helpers.c'], 'test-base64': [], + 'test-vmstate': [migration, io], 'test-bufferiszero': [], } - if 'CONFIG_POSIX' in config_host - tests += {'test-vmstate': [migration, io]} - endif if 'CONFIG_INOTIFY1' in config_host tests += {'test-util-filemonitor': []} endif