From patchwork Thu Dec 19 10:49:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 182074 Delivered-To: patch@linaro.org Received: by 2002:ac9:44c4:0:0:0:0:0 with SMTP id t4csp2095479och; Thu, 19 Dec 2019 02:50:08 -0800 (PST) X-Google-Smtp-Source: APXvYqwUZ4vTXiYFrKr7nti5YmxxZX61jR4YskVjKwimg4Ro+cCY0wfqtXJF1zDCfPQMAzCtTgxr X-Received: by 2002:a05:6830:1cd3:: with SMTP id p19mr6120390otg.118.1576752608405; Thu, 19 Dec 2019 02:50:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576752608; cv=none; d=google.com; s=arc-20160816; b=L9pfi5YGwgpuTgWXAb0SpvjxbtjdpAU6vxwJ98rqnhkQYrUOZf2e7cqMTAKb0au1Y8 zPjDUXcEBE/BD4jxV6fpaVwMthqcJYWtlwyHJZJP4l1V2A9oPMi7WbsUrl5T692jZ5eG Rs99cIKVaud2CICB+XyiTfTchTiiSwtfgcNTiv1qar9xhnnEYsCUJMJHL/YuXdidXZ9a wtcNLvFLaVkTbXQ0Usnz0Du6BRWkJiIR4Ukvg79LRp9YDliYMlTTHk9SsgTYEQJDeY4o jGLT2mQ5PAuu8rQHcog2IyiY8tj5lXPPbgd/PQuYw0kUmZvVr8vTF0ck5vAeVdWzgEqZ 1iSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=ejtvT2GEst/Jf6ZZBqZIeJaPXeRI7sIRFGbYoqeTEu4=; b=MivjSRfptIaamn3E61XCGoJ1vxtthDmOMA+raHBPvVl46+8YbSpysC1V1+6dF5UNq2 mqEa3sAlKog93iVbVrBBBGxG2gWZQ+Q5d0cBDCu+ZNI6X+f3XCVwNahu1KEkcJqxm97n SF+KwDa+lMaXC6PESncRHPzbI2C8aDJ1poWWZ/x4cjaGv66NiNV3ajAbf2K5NPEQSEps 50zCVtW5HApJPePEuUlSmzU+JKmAHYrfp4er7xX9oe5S+bVzselifwtSLlvvwZpQjWJM 46HLbev/MokrZAnS9Hp8bMnTZETBIdcHKvOYUdkAuJx11mS6sYCNMlumaPiZtKM/gDRu CvCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=XiHyCyaU; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a64si2928098oif.256.2019.12.19.02.50.08 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Dec 2019 02:50:08 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=XiHyCyaU; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:38620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihtNf-0006gU-1g for patch@linaro.org; Thu, 19 Dec 2019 05:50:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38220) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihtNF-0006Xq-Rk for qemu-devel@nongnu.org; Thu, 19 Dec 2019 05:49:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihtND-0007z0-Au for qemu-devel@nongnu.org; Thu, 19 Dec 2019 05:49:41 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:37088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihtND-0007t5-1r for qemu-devel@nongnu.org; Thu, 19 Dec 2019 05:49:39 -0500 Received: by mail-wm1-x335.google.com with SMTP id f129so5106965wmf.2 for ; Thu, 19 Dec 2019 02:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ejtvT2GEst/Jf6ZZBqZIeJaPXeRI7sIRFGbYoqeTEu4=; b=XiHyCyaU0NtNMmC0flV8OlbZFoGZjUQpAuQzni+2Ukp1BQf5mjbdukFtxblwTDLzI5 yyzos0b/vUFlDiHSM1705NOFQvv96DIA0nD5aOsfTf6yUOoKa8snq2gVFIw7e5xVsH0a lCLmO9fzlMr231gshJECavR5hGHc66oV9APpuq3ODfbfvHFSScszjoRJyY7YT6sO9iXX W+dm/TNz7tFr+7jeB3GvEqIJVx/SXW99KwwbPxX1kHNDezTZvMVZwMpXSBT6JtFh/6Ja Fj7aVP3F5qWD3pAVWNk3MH3dMtLSLmXMDdEj4zVSdGhNR5xV2HAvXDGEHEck+OFBf8Qs SdCA== 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:mime-version :content-transfer-encoding; bh=ejtvT2GEst/Jf6ZZBqZIeJaPXeRI7sIRFGbYoqeTEu4=; b=RDLPiY8fdhQheFpHP/AcuFchYBOqg76T9YO7PFr9qxVei/pPJFvO87Hqq4CO722leL W5+P7ljXrg6cjgwA57r+JoTl1quefQZyHsE5xZ/0javuIV3YmZ8L7430veAxZDBfWYB4 A4sQRSVbzlNXDdP3wrWbC62XoiKO4uqv7iPcNsJFDb1GFdk2IvnDi7zwTVr6T8uYWdSP 7fkPSqJDPa3GjApJF9kzsazeY/m3Vj3J1Cz38mhTE7rjddLFKNT4aEo+l3MVngaBTSD4 +NiGvc6v+n9Xb5ztB0RGyKYaTWKK0P3W1Js2Rv/myOwt48rgb5RvIZ2dyuJ5kToGgVWm Xngw== X-Gm-Message-State: APjAAAWKnxDPFO4txZEC5YrN3Hpg1Xlp9JkUYc2oCPpLr6bGvm0uh1Ao YNxwSb9a8/0KycSVLLiTGPDMKg== X-Received: by 2002:a7b:c342:: with SMTP id l2mr9821893wmj.159.1576752577830; Thu, 19 Dec 2019 02:49:37 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x17sm5878585wrt.74.2019.12.19.02.49.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 02:49:35 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 692E81FF87; Thu, 19 Dec 2019 10:49:34 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 00/25] testing and logging updates Date: Thu, 19 Dec 2019 10:49:09 +0000 Message-Id: <20191219104934.866-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::335 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The following changes since commit aceeaa69d28e6f08a24395d0aa6915b687d0a681: Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-12-17' into staging (2019-12-17 15:55:20 +0000) are available in the Git repository at: https://github.com/stsquad/qemu.git tags/pull-tesing-and-misc-191219-1 for you to fetch changes up to 380976f40f909b735acb60d5d424de7eb1b7107e: tests/tcg: ensure we re-configure if configure.sh is updated (2019-12-19 08:20:16 +0000) ---------------------------------------------------------------- Various testing and logging updates - test tci with Travis - enable multiarch testing in Travis - default to out-of-tree builds - make changing logfile safe via RCU - remove redundant tests - remove gtester test from docker - convert DEBUG_MMAP to tracepoints - remove hand rolled glob function - trigger tcg re-configure when needed ---------------------------------------------------------------- Alex Bennée (8): configure: allow disable of cross compilation containers linux-user: convert target_mprotect debug to tracepoint linux-user: convert target_mmap debug to tracepoint linux-user: add target_mmap_complete tracepoint linux-user: log page table changes under -d page linux-user: convert target_munmap debug to a tracepoint trace: replace hand-crafted pattern_glob with g_pattern_match_simple tests/tcg: ensure we re-configure if configure.sh is updated Paolo Bonzini (2): ci: build out-of-tree docker: gtester is no longer used Robert Foley (6): Fix double free issue in qemu_set_log_filename(). Cleaned up flow of code in qemu_set_log(), to simplify and clarify. Add a mutex to guarantee single writer to qemu_logfile handle. qemu_log_lock/unlock now preserves the qemu_logfile handle. Add use of RCU for qemu_logfile. Added tests for close and change of logfile. Thomas Huth (8): travis.yml: Run tcg tests with tci iotests: Provide a function for checking the creation of huge files iotests: Skip test 060 if it is not possible to create large files iotests: Skip test 079 if it is not possible to create large files tests/hd-geo-test: Skip test when images can not be created tests/test-util-filemonitor: Skip test on non-x86 Travis containers travis.yml: Enable builds on arm64, ppc64le and s390x travis.yml: Remove the redundant clang-with-MAIN_SOFTMMU_TARGETS entry Wainer dos Santos Moschetta (1): tests/vm: Allow to set qemu-img path docs/devel/testing.rst | 6 ++- configure | 9 +++- include/exec/log.h | 34 +++++++++++-- include/qemu/log.h | 48 +++++++++++++++--- accel/tcg/cpu-exec.c | 4 +- accel/tcg/translate-all.c | 4 +- accel/tcg/translator.c | 4 +- bsd-user/main.c | 2 +- exec.c | 4 +- hw/net/can/can_sja1000.c | 4 +- linux-user/main.c | 2 +- linux-user/mmap.c | 56 ++++----------------- net/can/can_socketcan.c | 5 +- target/cris/translate.c | 4 +- target/i386/translate.c | 5 +- target/lm32/translate.c | 4 +- target/microblaze/translate.c | 4 +- target/nios2/translate.c | 4 +- target/tilegx/translate.c | 6 --- target/unicore32/translate.c | 4 +- tcg/tcg.c | 28 +++++++---- tests/hd-geo-test.c | 12 ++++- tests/test-logging.c | 80 ++++++++++++++++++++++++++++++ tests/test-util-filemonitor.c | 11 +++++ trace/control.c | 35 +------------ util/log.c | 100 ++++++++++++++++++++++++++++--------- .cirrus.yml | 8 ++- .gitlab-ci.yml | 28 ++++++++--- .shippable.yml | 4 +- .travis.yml | 112 ++++++++++++++++++++++++++++++++++++------ linux-user/trace-events | 6 +++ tests/docker/common.rc | 7 +-- tests/qemu-iotests/005 | 5 +- tests/qemu-iotests/060 | 3 ++ tests/qemu-iotests/079 | 3 ++ tests/qemu-iotests/220 | 6 +-- tests/qemu-iotests/common.rc | 10 ++++ tests/tcg/Makefile.prereqs | 2 +- tests/tcg/configure.sh | 6 ++- tests/vm/Makefile.include | 1 + tests/vm/basevm.py | 5 ++ tests/vm/centos | 2 +- tests/vm/fedora | 4 +- tests/vm/freebsd | 3 +- tests/vm/netbsd | 3 +- tests/vm/openbsd | 3 +- tests/vm/ubuntu.i386 | 2 +- 47 files changed, 486 insertions(+), 216 deletions(-) -- 2.20.1