From patchwork Mon Sep 7 20:04:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonggang Luo X-Patchwork-Id: 11762171 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 26D1E15E4 for ; Mon, 7 Sep 2020 20:05:34 +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 E4D2B2145D for ; Mon, 7 Sep 2020 20:05:33 +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="Yhrot6J9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E4D2B2145D 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:40294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFNOP-00062m-0H for patchwork-qemu-devel@patchwork.kernel.org; Mon, 07 Sep 2020 16:05:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNNl-0004dI-Mv for qemu-devel@nongnu.org; Mon, 07 Sep 2020 16:04:53 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:34049) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFNNj-0008ML-Gc for qemu-devel@nongnu.org; Mon, 07 Sep 2020 16:04:53 -0400 Received: by mail-pj1-x102b.google.com with SMTP id n3so7736163pjq.1 for ; Mon, 07 Sep 2020 13:04: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=LvgBmVo5Tzfa2ETkxK8CQ+jBfbey6Ap12eTwlbT45c8=; b=Yhrot6J9BA0q6UtBTu3nxSoezTzeiumdjj3j2DDwg04DIOBXUjKRpSaNBDg0uERJJD hmb4MY6VoJa4JpLjfVS/IQD6k//wiTzAfaRluQwHslNZX/BcwbY7+oPfhrpErZuvLDMg ALNPMPycyxmGqsKjyT+UkIxtImETzyb69X1903XGOmvZ5Y/rFL5eTmQP/NNMFwoYs2F2 beI0dp/zhRtOr3aE6F2mev+bhePv8LeQFYNTOiI7z0BqiBdk3WxUfYyhnjP+zZrvhAb6 1ayahz8mhEnMMEiGwoT/L7zeFMYI/DrKxfYRxGjE+ce/EPw5jX8E4FnARe2FwfFlYsrD 4jCQ== 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=TQ1ntgv4hCFCRT199jnkLsJbeaHjHJh8lvsSEhHe/1VR+CxWvmLoUN4d+MrIkBIHIh 7R6KWRnUq9BSv5JPe8YDEDGILnZ/dF8gzvCdF1WaPTB+pe8253rUmvKVyxv2gvC7TBOR 2vVXO6qMKdLG7Caql9Ulvf8P9oPyYxp9CNk8w+UoeRDz2mwppBDmbIApqjWcEsKrXsJ8 N6YSXzQSoYtHLIXXfjvxBjMN8mCDwXzcxOzy6wlV5W3d2UYHU879q7NWyS8WQQbQyFl8 uJWTUkS5Pu7vDQ5QtF3NL5jfsHG58vCUbWHpWu5ZCVQVPGfJ6iIo/07Z3xNJ4tW0ItX7 5y4g== X-Gm-Message-State: AOAM531Gu2gHZDibY7uOUlx+mP7TQxdq/fzKMuwLk6OsB39XexGlc/la owJbJ3Kdff8ppwQ17S0eHuLq+uRz3w4/ifH/ X-Google-Smtp-Source: ABdhPJyCJ9q4OOVCr+AkypuN1egCtchrV01a6LaDQpTI/c7onS0p9Lpo4qyO4MxSAP+mDoQU8zM51g== X-Received: by 2002:a17:90b:f14:: with SMTP id br20mr772350pjb.24.1599509089766; Mon, 07 Sep 2020 13:04:49 -0700 (PDT) Received: from localhost.localdomain ([222.95.248.6]) by smtp.googlemail.com with ESMTPSA id 204sm8713098pfc.200.2020.09.07.13.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 13:04:49 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH 1/4] meson: remove empty else and duplicated gio deps Date: Tue, 8 Sep 2020 04:04:29 +0800 Message-Id: <20200907200432.2418-2-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200907200432.2418-1-luoyonggang@gmail.com> References: <20200907200432.2418-1-luoyonggang@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=luoyonggang@gmail.com; helo=mail-pj1-x102b.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 , =?utf-8?q?Philippe_Mathieu-Daud=E8=8C=85?= , "Dr . David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.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 20:04:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonggang Luo X-Patchwork-Id: 11762177 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CE4D692C for ; Mon, 7 Sep 2020 20:07:35 +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 94C682145D for ; Mon, 7 Sep 2020 20:07:35 +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="fZ39Q70K" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 94C682145D 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:49402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFNQM-0001MT-Op for patchwork-qemu-devel@patchwork.kernel.org; Mon, 07 Sep 2020 16:07:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNNn-0004i4-TU for qemu-devel@nongnu.org; Mon, 07 Sep 2020 16:04:55 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:37425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFNNm-0008Mf-A3 for qemu-devel@nongnu.org; Mon, 07 Sep 2020 16:04:55 -0400 Received: by mail-pf1-x435.google.com with SMTP id w7so9123506pfi.4 for ; Mon, 07 Sep 2020 13:04:53 -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=WA05sJoHqncdo9RaNraHixhNExgVWebBduhybnmWtFg=; b=fZ39Q70K2L3BPTiw3iRu1nVbMwKVm/YABSCg9OQJsEorSd4JH+Wzbcbk5az031U2oW jQ52S26LcfgbjF8VMA5Adw4fkmNRWWxDGRxyscZe6O1siJqZG5DNwqJFNf+wlofNX9C/ fM3dylycbqnxK2DPYm94FiLT8wB1kCeLe+ly4panU4V45sX/sihIBsMJXqMhCLruxV7b cB95TekPU+LhqnOOBDmAg+57doPR8YIP6Ku6EVhq9cXYY3SRvhZQFP73EQxwEo5JCaBK nNt6OraHqHkY6uf02VTHE/XS+yW2I4uNEzWvI3NEowsH0mZ6H3bdI3xELjsOSgd0SD4m kIsg== 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=WA05sJoHqncdo9RaNraHixhNExgVWebBduhybnmWtFg=; b=SFIZK84s2I5HsUmIAeW5WK70F5x/O+m/m+/HRxx8ZNMy0KGPx5yMuL52r8Xe+xT+mF ZKT3e0Qxg6Kt3d4uiA/G2FEi5Te4TF5l9RveMLsQ1nEiMdfhYW7eg6vyD3T3RcnnswPo zCymIG7ZqTIn4UBU8ounK3bIsyT3HUIKR9mpHQ3FtbliYSjXyaPE7vKSibhtakP1eCvW H+DKSEM4VSug8/BQ53uaBQDLcHxXIt+PLc13qPPpzIGWklleb17X2iB14ipt8z6OTRnR al8ZIIqtJvd0glmf3PPUZKzzoUFj7ysdt/pMkVwcYz2MnfCPgTUgfnDICaFjRH8UBKWS o8Gg== X-Gm-Message-State: AOAM5312dE0sewIdz3VCnJHNAT8tsjCfANF9KpdeoJKYFd7gGpNB0E9F jpK3TJSeS2ufa+s2SA3/DAWUwB6GTuQNdaJk X-Google-Smtp-Source: ABdhPJzxm3avZehq0aF3fbPiq7DJESGWt07+xPu6oXKaEkmwSZ+fLcJbKg+vG46ZR8r7STNwfzI/ag== X-Received: by 2002:a17:902:7c0e:b029:d0:89f3:28d4 with SMTP id x14-20020a1709027c0eb02900d089f328d4mr19496066pll.16.1599509092331; Mon, 07 Sep 2020 13:04:52 -0700 (PDT) Received: from localhost.localdomain ([222.95.248.6]) by smtp.googlemail.com with ESMTPSA id 204sm8713098pfc.200.2020.09.07.13.04.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 13:04:51 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH 2/4] meson: Disable test-char on msys2/mingw for fixing tests stuck Date: Tue, 8 Sep 2020 04:04:30 +0800 Message-Id: <20200907200432.2418-3-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200907200432.2418-1-luoyonggang@gmail.com> References: <20200907200432.2418-1-luoyonggang@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=luoyonggang@gmail.com; helo=mail-pf1-x435.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 , =?utf-8?q?Philippe_Mathieu-Daud=E8=8C=85?= , "Dr . David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Yonggang Luo --- tests/meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index 7f27a15cee..cf816a33cc 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -198,8 +198,13 @@ if have_system # are not runnable under TSan due to a known issue. # https://github.com/google/sanitizers/issues/1116 if 'CONFIG_TSAN' not in config_host + if 'CONFIG_POSIX' in config_host + tests += { + 'test-char': ['socket-helpers.c', qom, io, chardev] + } + endif + tests += { - 'test-char': ['socket-helpers.c', qom, io, chardev], 'test-qdev-global-props': [qom, hwcore, testqapi] } endif From patchwork Mon Sep 7 20:04:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonggang Luo X-Patchwork-Id: 11762175 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0DDA11599 for ; Mon, 7 Sep 2020 20:06:44 +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 BFA372145D for ; Mon, 7 Sep 2020 20:06:43 +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="Zy6OGhbZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFA372145D 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:45292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFNPW-000884-UR for patchwork-qemu-devel@patchwork.kernel.org; Mon, 07 Sep 2020 16:06:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNNq-0004o8-5w for qemu-devel@nongnu.org; Mon, 07 Sep 2020 16:04:58 -0400 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]:44564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFNNo-0008Mx-PV for qemu-devel@nongnu.org; Mon, 07 Sep 2020 16:04:57 -0400 Received: by mail-pg1-x542.google.com with SMTP id 7so8467737pgm.11 for ; Mon, 07 Sep 2020 13:04:56 -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=b0+yDkPUAOPfrghGZz2GsdNXdMaVRYPMlhMxDHZVuTc=; b=Zy6OGhbZNcTQXJq8PT/O71NenYwRc9oGVlOIeGlbFzRqzxh82vI4Axu+uCrfvyfS+t Vp1PscEqSD/vHzMvXiJUV/TKNykvaKrS3Etf4HN7xVp2U9mxAMjm62fR5bEEqo9l/IJB C3rj+JYMvnwFklFTWfccmjMNE9qGXam6nsfW6dgY1oBhH2y39le5CBNAxUGnGdGG2qeA jeCT295p+m5QHn8N1FNGIQa3g8pHULj2T5Uyip3TKhKja4CBfqiXxmr9Q2H0ORWFmXTQ 3Tqlr2CXFPbw436bF/VSOy3+Ul8N2O7FTHRVYKozR61oGOI33AF4C7YS9bXFnormu4K7 xVcg== 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=b0+yDkPUAOPfrghGZz2GsdNXdMaVRYPMlhMxDHZVuTc=; b=FmPwmHBVm86h8DrbOaYkuDI2sBcUdRRtOQMtO/OEqDMBahXRKHfmZU8mKcvYuR725f TfCCglw0mcESDahBNmVmx+SZ/BKw4QeghJX6fFo8CLTrciA+7OM1Cvea1Y30H+i1DGAz FzL07rusoZQSi4mN5iNTVBTwEJEHbk5pZvI4O435K7RgATGU3Mp1aHnIsMWCe2YkqUvR WKMmj2ZrO8xTMysAuKsNnCKgR1Px6hxLPWRu0kSSJXFrc/7glEOfbNyJDsezU14O5y0C Gr0ucNjRr5t5dCBG0Td18buhE2cDpUS7Hw3gESSJgA/b5Yrek/XQkAlez2ZNDqfN4Uer KkDA== X-Gm-Message-State: AOAM530RfTNA3PvXx1q4SkOkbC0Mqay0wUzL/DUK7idDajr2Y7cfVsdy ENNs5n9SMTFF+TpGHXYBJqtMwhuA5GMzVBGS X-Google-Smtp-Source: ABdhPJwqtsDNWYK8YRMJXhNt+SrQiP4j3ceKmeae/k/yq5Q+7R7EM3ldPdQxeTRa9nIrAQYeJldMkw== X-Received: by 2002:a17:902:bd48:: with SMTP id b8mr20016949plx.139.1599509094965; Mon, 07 Sep 2020 13:04:54 -0700 (PDT) Received: from localhost.localdomain ([222.95.248.6]) by smtp.googlemail.com with ESMTPSA id 204sm8713098pfc.200.2020.09.07.13.04.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 13:04:54 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH 3/4] vmstate: Fixes test-vmstate.c on msys2/mingw Date: Tue, 8 Sep 2020 04:04:31 +0800 Message-Id: <20200907200432.2418-4-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200907200432.2418-1-luoyonggang@gmail.com> References: <20200907200432.2418-1-luoyonggang@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::542; envelope-from=luoyonggang@gmail.com; helo=mail-pg1-x542.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 , =?utf-8?q?Philippe_Mathieu-Daud=E8=8C=85?= , "Dr . David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" The vmstate are valid on win32, just need generate tmp path properly 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 20:04:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonggang Luo X-Patchwork-Id: 11762173 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3A77D1599 for ; Mon, 7 Sep 2020 20:06:38 +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 E555F2145D for ; Mon, 7 Sep 2020 20:06:37 +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="hDHBlZPb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E555F2145D 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:44816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFNPQ-0007we-T3 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 07 Sep 2020 16:06:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFNNs-0004v7-RK for qemu-devel@nongnu.org; Mon, 07 Sep 2020 16:05:00 -0400 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]:38855) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFNNr-0008N9-Ab for qemu-devel@nongnu.org; Mon, 07 Sep 2020 16:05:00 -0400 Received: by mail-pj1-x1044.google.com with SMTP id u3so3645645pjr.3 for ; Mon, 07 Sep 2020 13:04:58 -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=VGO4+PaElKcWPhGSq+Z0Hv66foMvUWF38Vy+iNilzKo=; b=hDHBlZPbRxJIX+b61bXHzDsHhsCmTmmWusfYaFDsYzRZ0zbiBbHZISSIC/C3HxWrQg sR6I3PAzewDkn5VJh1yvLnTmpKi4tR9kMSy/WfEqmGIbFmdQ4NZBqqucbTrX8tC7kfYX /IZst0F5nDRb/64H7TuZaKgFtx/7Bpj1nCYV2i4NcZ/WC46NETczNpWrZjVVW+lw2Wh6 oUfSNZt4Df7IQX1pwoGH7CwrJeyAB2D9k2gTBVKncnd2OhuAUHFmANSfxvzF5xWkox7O LJSL3afugfDHdhIYzfhgFzHnkUZ6E0cLdXdBXbv0W3+h2lsDQcOvwpGpIHjcEL4CHyho GgXA== 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=VGO4+PaElKcWPhGSq+Z0Hv66foMvUWF38Vy+iNilzKo=; b=luq3+y6LnjZOVac76LfoXma5awz2Acnp8VuYPR7IgDFf+MiITI/aVIAIDONh6clXTw 0hOI9sQ5XZs2nag6gHhwJEz4AZYSNt72pmpR08MKjmnL1QO9WPHPT4RGdizWqwfhKKXm +1Qg/vWjmgiEHFmozCEd5ufs/SEhas+gih4ZnEf0CcWd5tfqB+JBc0jP/HZuv5UZsP2x JMohXOWbBHEg+Buee3/UFPVt7cAUeoEdC3tGFQrYC7o9ZE35Tal0EHQuT2BcOlQEbLrB twMnkz8O9914hNCFg4lkGgg9Wk+HLpR3T4DJysGG8NqW3NARXOtqumOh43BSM2zP400z ao8g== X-Gm-Message-State: AOAM532dwJHDhq1a5Xyju2tDAfAnpCq+xbJWepbMNL23b60Mm/A7ghXF cGATfGus/R+FIJJ7niU8/5YYmPA2+CvsM+3L X-Google-Smtp-Source: ABdhPJxHFB2eEiYMTWsYgej9S8779EH5mOFjSNV/7QBaynkysGensSo+A+fezuMS05hheoq20WFqPw== X-Received: by 2002:a17:90a:384c:: with SMTP id l12mr755243pjf.27.1599509097549; Mon, 07 Sep 2020 13:04:57 -0700 (PDT) Received: from localhost.localdomain ([222.95.248.6]) by smtp.googlemail.com with ESMTPSA id 204sm8713098pfc.200.2020.09.07.13.04.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 13:04:56 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH 4/4] vmstate: Enable test-vmstate on msys2/win32 Date: Tue, 8 Sep 2020 04:04:32 +0800 Message-Id: <20200907200432.2418-5-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200907200432.2418-1-luoyonggang@gmail.com> References: <20200907200432.2418-1-luoyonggang@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1044; envelope-from=luoyonggang@gmail.com; helo=mail-pj1-x1044.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 , =?utf-8?q?Philippe_Mathieu-Daud=E8=8C=85?= , "Dr . David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" The vmstate currently disabled because compiling error, but now its fixed 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 cf816a33cc..09b9b4462a 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