From patchwork Wed Nov 20 10:57:57 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: 179830 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1932145ilf; Wed, 20 Nov 2019 03:02:05 -0800 (PST) X-Google-Smtp-Source: APXvYqycQU4ZTSCZBTNaa5LkF53SfDE/NnrsW3grYst/JQyPPnDS1JNYa/CRI4LsUcqZTBRP4gcx X-Received: by 2002:a05:6000:12c4:: with SMTP id l4mr2399025wrx.110.1574247725153; Wed, 20 Nov 2019 03:02:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574247725; cv=none; d=google.com; s=arc-20160816; b=FFKLkXNIa2H4744VCncTHtrf4bwmvR7gnOKEaMoNe6InqF1Yw2WETPvgP92Xtqf73n YMB2Ox9s2CRS+Mr1Xylr9bk6KB1VEklzAxWcdJh/ZxCkQ9BGZI9uGVwB5OUmJr2jtYuH xSFdchmKye2y8Ss9+trahHySuWYcgYGHS1eAu2Ig3+jSrKkoeREjr/9HM1PSydIBug+q EybtphJErMigFzofnBxV0oIBZFUsCrjU0T+vYfIx+2qSIVzHCEWHi2NYSrVq6Zg+ABlU G8gJ8RhVMJw8DPJ+3KTGSPd831y7RsKZ1OA9LLHrwZ07FsJ0VS2XTzW+SVOrA+wm/f8Z UIbQ== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=8t5kqmOG1TchdK98D192qu2xreWTn22UibKxxRh5FTw=; b=IQzUJNiIapXcIfVp66WUZIQNMFpEeXRyCuI4jUPk7OhhLZYSg+92ZqrWpCDMsNx0F0 zzSKVntTZRN2ILBAoq1LUfzr/5V1WMpiyTfDj6d89B6flVTUMwLRGKythK1hFAKuvpoa TrCWZAWdYdD8inzB7qvLlu6FU8g46eq8Nmdp/v4maildFFGRXd36tdiz9JESLctjPWnK /HJc+0g/F+TM8c9xF4RtOOoivVKXu+ppZ1om7DxSpL+vezHlIM8OS2kYIUT8OTizCY5E j3dUDbHPpLlt+1e6kzvGP/uc5ZMt7Nfe4SczmVXRiccJq8o1WiIOS5ZIfq5bjxb89NG8 Wvwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YPuLurvi; 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 i6si18521179eda.30.2019.11.20.03.02.05 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Nov 2019 03:02:05 -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=YPuLurvi; 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]:56338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXNkK-0002Q2-3E for patch@linaro.org; Wed, 20 Nov 2019 06:02:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34115) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXNgW-0006yk-ER for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXNgV-0006sa-7Q for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:08 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:38602) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXNgU-0006qh-Us for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:07 -0500 Received: by mail-wr1-x436.google.com with SMTP id i12so27602225wro.5 for ; Wed, 20 Nov 2019 02:58:06 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=8t5kqmOG1TchdK98D192qu2xreWTn22UibKxxRh5FTw=; b=YPuLurvi0pYCdiGZsXvJHM0FRTDktG+pTHbzeQinSm+2cZm22+hS70vW5M5VeFliAi uwoaifoRo1XMjYz9C59Q+osvTq6jrf8Ans87c0+pk4Wx8Z7GmrR+B2uLPl7Mscdoyakl WMp7dDh6CadEPX9w7icT9gBUTtdX2S+SW13o+NUa5QzWbAhGJVM7TISAxAsjlBX8sEWk 5o2djDLn/EiuFoK3lldy6NOYbBKRRBCjOf94mJbgN4IvLMaumNsHkuhtqCa4n1HDREbY yfd1zdaqyavOZJb3d5T2ZQq5AAIqAu/5Jy91DOG5RX2/L9L9HVq270pYZf1BeMRD+iNd rbpA== 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=8t5kqmOG1TchdK98D192qu2xreWTn22UibKxxRh5FTw=; b=UF/zoUzRgRqL0R2eey80KOciIaEm9KIn/Vh5YoVzXQV/5PdSYxXsgmo0+i0UfBYSoy 4mFjU8CD1TkK08XnCFCv0WQ28l2CMPlZ4nAVZwP/JFZ+reWqtkrKPmGCm5HA0N9ohTSY fRoghZ6UfvkJV/vIGVJTlxOhX3wh3mDeHp7du0P0PLE8mKUiiAB0rkT2ZHKSafbfZtUn v4WOJpNLythSE8rsxyJ7tTOKGZNFyhU7OofQQt4iWBTUgVbRQ0ppVXBpRi9tGPO4oPt/ tMll/IplVA9duw1baSh3vyXUwGzbYNWD99HCBzOkRXszwowgZylmHaWHH4rhezbxZhN0 Okbg== X-Gm-Message-State: APjAAAUic60fos0735b18C32OVVl85v2PluKgHAHcyni1VIwMi5XxRUE /Ahqxa702+44jKK7tXdhf7rLIFFlulQ= X-Received: by 2002:adf:f4c9:: with SMTP id h9mr2408400wrp.354.1574247485817; Wed, 20 Nov 2019 02:58:05 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h124sm6644615wmf.30.2019.11.20.02.58.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2019 02:58:02 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 58E4C1FF8C; Wed, 20 Nov 2019 10:58:01 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 1/5] tests/vm: make --interactive (and therefore DEBUG=1) unconditional Date: Wed, 20 Nov 2019 10:57:57 +0000 Message-Id: <20191120105801.2735-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191120105801.2735-1-alex.bennee@linaro.org> References: <20191120105801.2735-1-alex.bennee@linaro.org> 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::436 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: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" While the concept of only dropping to ssh if a test fails is nice it is more useful for this to be unconditional. You usually just want to get the build up and running and then noodle around debugging or attempting to replicate. Cc: Peter Maydell Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth -- 2.20.1 diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py index 91a9226026d..0b8c1b26576 100755 --- a/tests/vm/basevm.py +++ b/tests/vm/basevm.py @@ -403,7 +403,7 @@ def main(vmcls): exitcode = 0 if vm.ssh(*cmd) != 0: exitcode = 3 - if exitcode != 0 and args.interactive: + if args.interactive: vm.ssh() if not args.snapshot: From patchwork Wed Nov 20 10:57:58 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: 179832 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1935718ilf; Wed, 20 Nov 2019 03:04:41 -0800 (PST) X-Google-Smtp-Source: APXvYqyC+U5teEJMlyXTD+021C5Q1ezlzr8fQCL4FNbQF4X90QIsGIBJ6W5DjlFlh/bqAk9TcqMP X-Received: by 2002:a19:74a:: with SMTP id 71mr1154039lfh.127.1574247881389; Wed, 20 Nov 2019 03:04:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574247881; cv=none; d=google.com; s=arc-20160816; b=O62AacJfae0xuKQU5ZwLMwmkPCXDjLdtqc3wlzHyKfR/Q4vKs66p7Jfq/sMNhvrVXc N+u3nBeIQexFezIqikg0Ka04kjdnm++9j7iE38qHuc7yX+7eaVNuIlKJApd52trlFPwk SGlKM28lr/kB7Fmn1aYD/6bPgRQRJOHl3d6hmdGv9audy8O11AL5MyJC+0837zapQ8Um s+UhFv3j46fDtQpNoV4WmgcZzDFyITWeOn5HuTgZEomxXP3ByX1+8r+Nha5ZsiNSTLm+ 1nFrci1VJvf8Mf5pvOGIpyh8BwHqMVWpqmSUJX57JEx6QjE0PXv2RUdmGvH5URInEKyC ejyw== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=LEjZwaiT7NBJ0U3NNZiqFvcTWTL2UsFeD0o79C2EwzQ=; b=C6AxaYzMGI3wC4amFXLnK3Fjq9brBxP4pFP0k6mbeECWCQ44AdPyRDZcW/ibnmyvMm F/Sw03Ia/t5nuwLSGD0FoE7+OiDhYZduT/mGhfgVu3a5e1/dYCA0lrHlIpfygzdNL+KO ylNISXXkbeL1rXpF27z5c97K7Yu3wBy8O8hAGmrn9FjVXia7NIJ+LAQsOtpPPugS3Xie iiQ2Tje3e8yFE8OkC9Npx1TV6T0C29/rXn32MmUU2d9wbQNK7i+/n4/SC9gwYNtOxs7s vYkhT9ewH49FOYjFtUsx6prIJ/ZAIONLEUhv52VQ/sNYWfSW5o8eZCdxFxyOiZIhAVZh v1zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=zTC4yWUx; 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 y26si17927924edb.360.2019.11.20.03.04.41 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Nov 2019 03:04:41 -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=zTC4yWUx; 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]:56396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXNmq-0005BP-3o for patch@linaro.org; Wed, 20 Nov 2019 06:04:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34082) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXNgU-0006x7-1b for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXNgS-0006oL-Tg for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:05 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:40727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXNgS-0006lO-Lx for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:04 -0500 Received: by mail-wm1-x32e.google.com with SMTP id y5so1112570wmi.5 for ; Wed, 20 Nov 2019 02:58:04 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=LEjZwaiT7NBJ0U3NNZiqFvcTWTL2UsFeD0o79C2EwzQ=; b=zTC4yWUxqeWCnJqA0H3IRgfLvT5O6yOXqylifZo9LGaCgYndaPjJMpD89L7r6XvTF0 I0NohXoJr9Xp38EiBObtq0TeQq6G87MajE3BbqTt0gSMA31nvGUBPpaNJaTtiYUjRR6B KtNGWLNXCIW1KGbJMPTAU5/3tKFcOAs+BKzjJcbjfZw8pNzgxDIB5tP5f5HJNGICio4w ndapbhq+Reh7/X2de5vX7yonNgmDHJDbOWYOLwm64rXQBSLZliE2uzKaHPecvfN5yzFF 5j4A7ZJa7ekJRIwY3CTl+KV/m7+TtcDjgi43I2ajeycMFjnAUBRoJytr7fTpJTCaSVhg A++g== 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=LEjZwaiT7NBJ0U3NNZiqFvcTWTL2UsFeD0o79C2EwzQ=; b=HMBFSElsPGfIM7+T4ZG8upaCNN3XyDyvCpHMbUeqUvFaXU0OG0TuLfzO609lT23ASi jUSZFD3Ni0+Zi94RieY6DkAZ7oqXBK6TVC65o3ggAY20R2zt1/zAP7Alme7mu0bvXceJ LFLNTQLFzU1PuLZSQqi3Ta4OJR4Gd55odW0kmeS1WV6fuRVLKmWy7QVQ8rThaqx9ngKk Yo1B1LPglH/y5Xyt+AUVx1KNEfjd3m9E01V5JTXoGi2Anjd16sId+UFwm0z9D6WUZLcD ytzQwVjVtHf1bsApUemYHd1h6jKM8H8U5H0MEdo1zgU78ArGVJZGDmrPX6rjubKllZy9 h5Bw== X-Gm-Message-State: APjAAAWmbvpOkCdoTp13DuUW96XaGx+9yih4DSs1ywnIv6VlPIoeuS/N OtublmS0wxfafM4WNJR5J+7JmA== X-Received: by 2002:a1c:6486:: with SMTP id y128mr2285036wmb.148.1574247483165; Wed, 20 Nov 2019 02:58:03 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z4sm6258708wmf.36.2019.11.20.02.58.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2019 02:58:02 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6F9711FF8F; Wed, 20 Nov 2019 10:58:01 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 2/5] docs/devel: rename plugins.rst to tcg-plugins.rst Date: Wed, 20 Nov 2019 10:57:58 +0000 Message-Id: <20191120105801.2735-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191120105801.2735-1-alex.bennee@linaro.org> References: <20191120105801.2735-1-alex.bennee@linaro.org> 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::32e 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?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This makes it a bit clearer what this is about. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé -- 2.20.1 diff --git a/docs/devel/index.rst b/docs/devel/index.rst index 2ff058bae38..c86a3cdff2f 100644 --- a/docs/devel/index.rst +++ b/docs/devel/index.rst @@ -22,4 +22,4 @@ Contents: decodetree secure-coding-practices tcg - plugins + tcg-plugins diff --git a/docs/devel/plugins.rst b/docs/devel/tcg-plugins.rst similarity index 100% rename from docs/devel/plugins.rst rename to docs/devel/tcg-plugins.rst diff --git a/MAINTAINERS b/MAINTAINERS index dfb7932608d..5e5e3e52d61 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2371,6 +2371,7 @@ F: tcg/ TCG Plugins M: Alex Bennée S: Maintained +F: docs/devel/tcg-plugins.rst F: plugins/ F: tests/plugin From patchwork Wed Nov 20 10:57:59 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: 179833 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1935998ilf; Wed, 20 Nov 2019 03:04:54 -0800 (PST) X-Google-Smtp-Source: APXvYqw7OH/HE/iHX4YAQrRXKcm9isGgmJfNtJQzxxDTyYLtfZT+Fo+ESVv1N3zMxyzUaqTjobrM X-Received: by 2002:a5d:460b:: with SMTP id t11mr2527136wrq.185.1574247894798; Wed, 20 Nov 2019 03:04:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574247894; cv=none; d=google.com; s=arc-20160816; b=irnIC1ysFRRaCa5IhKA4p6xLL9u6SHD1uMPyWM61vTi+uBDyvP+2iyJ1tSQZxf5mxY wx43c5VtOWbrxlcpGN8FpPKAg8myOZOErcxRbbLIxT9eCcPj6D6r03/KkMywbHDsE7e3 tQjf4yeKZ380Rb3I5P3/aAkI0id+3pODrANaZ0x6azVqDB9MSw0tH6gzDQoeQoVPH7A8 m7iv9qbqqp1VnnNLMHfpOvPpj5vgpx0d2tvLMRcJdsYNnC4lR70e3u3vu25H3uX3VCWy vJjKDUKKQnrqiQUjtKLeTdcNhRp7MOf5+hbCDHLh1SJIVA6Id9OEDT1JTwUrBBQ84pUM TU+Q== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=oWcIQ/2bWz6obkCCFTgR8jDb7UZS56VNJ8y1/fSAgYM=; b=hwokz4OYnmFYge6OJ2gsT4uFunWkuFwBay89/tbDoqKyA/N0gccI3wR/DIr5RteRFr PrVgrF5rD8EcHmIMs/fjd5VV+QnLwlXy8gi/eq21qac13/p6XBOwkDcWYDfhTLKLlJoV +N7XMIF5QTZQHF8+TP95esw07aq4EMlAIhnrlvB6M2kypFnm+iRivBy0R9+BhK2KhOw8 qy3pnQ8A9wGUE0bG83fOp2RZp3BRvrrazUFup8yeEAqKjoVGyruXSzA+96N40y9iQ+/M kD73y5hUbFwQg6fzOTsf7oO6nWyEtYiEkGR+7F7h8YrF6QlL3SsUuJiK2VfsutSqmbHE 3EVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Oe5fUASk; 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 bi17si18679903edb.430.2019.11.20.03.04.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Nov 2019 03:04:54 -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=Oe5fUASk; 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]:56400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXNn3-0005FT-Nr for patch@linaro.org; Wed, 20 Nov 2019 06:04:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34151) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXNgX-000702-Md for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXNgW-0006w0-KF for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:09 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:55350) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXNgW-0006tP-Dy for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:08 -0500 Received: by mail-wm1-x329.google.com with SMTP id b11so6474129wmb.5 for ; Wed, 20 Nov 2019 02:58:08 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=oWcIQ/2bWz6obkCCFTgR8jDb7UZS56VNJ8y1/fSAgYM=; b=Oe5fUASkYLzvvtdtEtmJbLRU+Ym8z48MF65yA0mvfud5gYE46G3mPC5T/5DBFH6GrJ aNWmTdUOFpoDR7RVY36Jlhhq+MMM2gN1vyL6pJm5dsCuWkMr6ubWXrmCKyZv1SL1Jd4S +pPUYCjkOnxCDFOctffRdhL4FuQpo/DbNpsGUyBDMppaFwCbubCfX7l/sDidzlw/nVtn 5E4oztFYHKn/IA/q+aant9okp39c/o0HNX7RLDjeB33DDARD/RuUKRexPSZ2IBLXWZZ2 nU9/SpNLphOei6Wu10UIoJr1d42LmVD6M7X7Bz12Vu1Tk5E6dGKEHJDJBl0PIxr1SyD6 Osig== 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=oWcIQ/2bWz6obkCCFTgR8jDb7UZS56VNJ8y1/fSAgYM=; b=IwlJDs40shifc3IZ33NilcdyUOu+F6gYW0yzJgEwxM863Txk2u6d+7eVYrq3iLnKdr yXiz61L2q3GG7iNzkYRwiCi40e7PA4vcnwW79p3SDK0z29KtmswLk5Q+LIrdDWpQrvLc E0AQ85WfEjgkukxr4IGpLxfJwVp9rQqcqjT6nWBVXzlyMnFdF9r7DtzY5T6V+1W1EP3T pntfZ6xeJCEyjK9wlrz+5iVfmY3khiMccu6JwA9QbZS+CvaKoSng+Ur5M8qtSQdV2bps hArPIsTk3EHidLWaGAjBAX6QorpDhHlzVbd/s2JT4sY2doJDWKQNBUfGqLBQGEOAdGSG v44w== X-Gm-Message-State: APjAAAXsn/V11KCeFzx6hUUY5zwnifpSolr2KkHAuIxU4ez60Mo99DjX qEB1D5BxVGqPFklyKxfg8vTaIQ== X-Received: by 2002:a05:600c:22cb:: with SMTP id 11mr2428072wmg.117.1574247487115; Wed, 20 Nov 2019 02:58:07 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j63sm6434509wmj.46.2019.11.20.02.58.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2019 02:58:02 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 83A921FF90; Wed, 20 Nov 2019 10:58:01 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 3/5] docs/devel: update tcg-plugins.rst with API versioning details Date: Wed, 20 Nov 2019 10:57:59 +0000 Message-Id: <20191120105801.2735-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191120105801.2735-1-alex.bennee@linaro.org> References: <20191120105801.2735-1-alex.bennee@linaro.org> 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::329 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, Robert Foley Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" While we are at it fix up the quoted code sections with the inline :: approach. Signed-off-by: Alex Bennée Reviewed-by: Robert Foley -- 2.20.1 diff --git a/docs/devel/tcg-plugins.rst b/docs/devel/tcg-plugins.rst index b18fb6729e3..718eef00f22 100644 --- a/docs/devel/tcg-plugins.rst +++ b/docs/devel/tcg-plugins.rst @@ -25,6 +25,23 @@ process. However the project reserves the right to change or break the API should it need to do so. The best way to avoid this is to submit your plugin upstream so they can be updated if/when the API changes. +API versioning +-------------- + +All plugins need to declare a symbol which exports the plugin API +version they were built against. This can be done simply by:: + + QEMU_PLUGIN_EXPORT int qemu_plugin_version = QEMU_PLUGIN_VERSION; + +The core code will refuse to load a plugin that doesn't export a +`qemu_plugin_version` symbol or if plugin version is outside of QEMU's +supported range of API versions. + +Additionally the `qemu_info_t` structure which is passed to the +`qemu_plugin_install` method of a plugin will detail the minimum and +current API versions supported by QEMU. The API version will be +incremented if new APIs are added. The minimum API version will be +incremented if existing APIs are changed or removed. Exposure of QEMU internals -------------------------- @@ -40,16 +57,14 @@ instructions and events are opaque to the plugins themselves. Usage ===== -The QEMU binary needs to be compiled for plugin support: +The QEMU binary needs to be compiled for plugin support:: -:: - configure --enable-plugins + configure --enable-plugins Once built a program can be run with multiple plugins loaded each with -their own arguments: +their own arguments:: -:: - $QEMU $OTHER_QEMU_ARGS \ + $QEMU $OTHER_QEMU_ARGS \ -plugin tests/plugin/libhowvec.so,arg=inline,arg=hint \ -plugin tests/plugin/libhotblocks.so From patchwork Wed Nov 20 10:58:00 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: 179829 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1928260ilf; Wed, 20 Nov 2019 02:58:53 -0800 (PST) X-Google-Smtp-Source: APXvYqx6thDNbwcDtH9sE08RphcEFFXY75KE9O4SY9ONDfL3Ux+tY1zRt76CgWrtE/K0imvpkT6m X-Received: by 2002:a0c:e60b:: with SMTP id z11mr1918162qvm.216.1574247533513; Wed, 20 Nov 2019 02:58:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574247533; cv=none; d=google.com; s=arc-20160816; b=kEYnPiXP/1SiU/uPrhw267u7x0x+WghUpbbDDROZBU2RIQHsGkvbVc1mLotYf7rhVP R/LCTTR43+kg7Gs5LSFjbwptdIHM6KPuqqJj9wJi3q0/as2yDoeue0tGbDAG4zVy+NYy zKgZrVCfKJxmjEfOT+4ejwfMZ5bF8v8NvW9JgAiyWJJ78Qpo96k1Jgb5mNvqshFeD6i0 AzaoV1N+WtQijruIr4GQiZ9oDAoIc3xfxZP+91NeEFNu8JdVO2U5T9IdCjlOFbAGgUkl SMBRQ3rHdbIuILI1eHEvL5mKpFblcCtQpAU6E0iAVpzQ/+zHQaHeonYymPAA1xooaMky V47A== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=6jNVg48ILdOHUBfDag+r3nY2uNv57Ins0s145E0Rdjc=; b=UoEMZin1A9rQhR5rgAJiadNF3CoVvZ/BNyfVS4iespPNBpFUG/KGycj5jvl4cF0dHp lU4VAR7+GHuoeRUpohlOHXkraBdVdnfGHOvV0xaxX0rhCRUiV1dSbqH1bzMmnnbklWky UiBBFpKYaaxPXT+1ZiISGmp1P0DsM/aG9pxRNhGiut0SKsuc9LdpdBKdysnuD5SXigB4 oBIJ5lq3BED1eUEY1GvIV2KGziyW2Y8/VlX/Y2/PHWGm0TFkvYcocuBI09BY8L6c4AHY Qs+WfyAEj1qIm919G7ssSh+9qUsdAMDy3OF9MUFtho9S2m2ZtrvbQ040ayJUTP6cAgYL +/sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="D6Xw/GXA"; 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 f4si581404qkl.171.2019.11.20.02.58.53 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Nov 2019 02:58:53 -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="D6Xw/GXA"; 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]:56282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXNhF-00078c-1z for patch@linaro.org; Wed, 20 Nov 2019 05:58:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34169) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXNgY-00070C-Lb for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXNgX-0006yD-KB for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:10 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:43872) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXNgX-0006wn-Dr for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:09 -0500 Received: by mail-wr1-x430.google.com with SMTP id n1so27555780wra.10 for ; Wed, 20 Nov 2019 02:58:09 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=6jNVg48ILdOHUBfDag+r3nY2uNv57Ins0s145E0Rdjc=; b=D6Xw/GXAJr99E6Z5h4w/PzEwPAptn6kZBU1eDhiEI31WLiaRsmosYV6atZG96SImNK PrPRDdRf+jmBomWeShD47a6fL3Aihr+9HzoKMko9GMhgayRas80okuFuj3erx5hydWGM WfgTBTb6RMaexAkygLW+d4OfMIP+k3DvW5pDaW8PqRF4YVe5xJPWWhwMYqtdifwZdmVw lQOEuZ75wIDAuziLtwVDlqBLe68mQvkGheFy1mcCRm/y2zEiLJccBOB6KpHX2XrgHNVi z54n9bIm0nfILhWjdJgxael5MOWxfyGmlGUi9+zJTbV6pFPcTCKgHKt6idRTsRqFfysw gvQA== 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=6jNVg48ILdOHUBfDag+r3nY2uNv57Ins0s145E0Rdjc=; b=pV4GxM0q8CqiQICD5E2uzX9oCos/hVKOt21UbakhHUcrfqDAqeJ9gmQedKpKEiIyMR 8xZhGSihjxA16qHFQKXW4HNbone2CGf4YxMBK8F9vBO0t/cWrbILz/9ZGAOaHD/cYF9J RdrJlGvslLBJjJqU7/Tsuhpf12fwXESP2s40FSe8BUFTfMIIqFOJVib/JQMCOzfuOtyP 5bp8cjmf6HYFbwyDihG4AvkuiM331LBEVbANAueDbWUSN43yM2RpmOqhtesqaM6SRTNR 7J6aAkd0XwkILeWJGA9PtijxwKqR7U5u1wW/l4B6ZRUv7wOBg+1LK+Ntv/q8O6cYNLEk z52A== X-Gm-Message-State: APjAAAXbMnnIi6ZcZT1Xvw/1MjuYEPIADE+yW7nwlp5QXFnyalPt+nFW /M4HBlVPhSU3Vl+xHuKBSXYdjA== X-Received: by 2002:adf:e8cf:: with SMTP id k15mr2565912wrn.256.1574247488296; Wed, 20 Nov 2019 02:58:08 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id p25sm6162574wma.20.2019.11.20.02.58.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2019 02:58:07 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 972771FF91; Wed, 20 Nov 2019 10:58:01 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 4/5] .travis.yml: drop 32 bit systems from MAIN_SOFTMMU_TARGETS Date: Wed, 20 Nov 2019 10:58:00 +0000 Message-Id: <20191120105801.2735-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191120105801.2735-1-alex.bennee@linaro.org> References: <20191120105801.2735-1-alex.bennee@linaro.org> 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::430 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: Fam Zheng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , =?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 older clangs are still struggling to build and run everything withing the 50 minute timeout so lets lighten the load a bit more. We still have coverage for GCC and hopefully no obscure 32 bit guest only breakages slip through the cracks. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth -- 2.20.1 diff --git a/.travis.yml b/.travis.yml index b9a026c8eeb..c09b6a00143 100644 --- a/.travis.yml +++ b/.travis.yml @@ -79,7 +79,7 @@ env: - BASE_CONFIG="--disable-docs --disable-tools" - TEST_CMD="make check V=1" # This is broadly a list of "mainline" softmmu targets which have support across the major distros - - MAIN_SOFTMMU_TARGETS="aarch64-softmmu,arm-softmmu,i386-softmmu,mips-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" + - MAIN_SOFTMMU_TARGETS="aarch64-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" - CCACHE_SLOPPINESS="include_file_ctime,include_file_mtime" - CCACHE_MAXSIZE=1G From patchwork Wed Nov 20 10:58:01 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: 179831 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1934899ilf; Wed, 20 Nov 2019 03:04:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwHd4Twn+SKjgpGeNz1JcbN+4qCI4pYA8Erykbe1xKdXHEGe5GFXiECXYapDgXT0eBGEawd X-Received: by 2002:a17:906:5e52:: with SMTP id b18mr4584433eju.318.1574247844744; Wed, 20 Nov 2019 03:04:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574247844; cv=none; d=google.com; s=arc-20160816; b=f6x3TxMi3f1rXOcbHQ/Dslybux+wcl8R47rLTfG66IyfJJqHiqd4coWbYW7BVKB9ma i4a9MU1dWcYtS6u/X8/o2zRayvqVMxMZmiiuZuqulKSyEDxO+1R6AKXqGnypTsWRN8Oh x5r1O1RepHZhD019fTo36j0XS44HBJbg5DeSrzqkikICnFmIhz9ku9VQ0RNMnLCVP9hi zbbLmoKdOAGZdvGgYW/E0eYH3IKgO1u5H9PG8XfNaQukpKq0jET1zcxmw8u0/MEi6jKy 0jY4VzQ0q3EYtwcimWHtfvUrk0lyY52tcSqkzqOSyDfewSkjYo6r7UmyESnB5/AjwGCr DYmQ== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=NY5Huuw32tJm6WEnS0WeU/lG0oOqGgFOecOoWzPIhZo=; b=an00NL433BpojYPUXPKumdYQUEG/YMxtjDa4qn6tnKuK8EQhiMfxp3uIXYLpoMfils Hh5p2WasgctIBJlyy4kzBeCdITnSkI7lthvk+SvPSO4DWjURtwKWLvmcRKUxMG6Xx1bl KwIn5+bDxKCqLdHuBmib4N7I0bGRoCaullX1bfenLR7GsyUitXxQr1C8YRLB9JSMPZYE zAQYWmWGJpwJJibVL3VzSuWb42a4qw0UwQLUaiMILXBaER27vegtzhr4IIVZ+yTaOUYB iYBErB1qyx4TLOQ7k/6272BgypmSkvUI54tzb4EtTGWv5okQaHxOQjioRCJd0lYo+5OY gtGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ZEvSkosH; 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 ca23si7629148ejb.341.2019.11.20.03.04.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Nov 2019 03:04:04 -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=ZEvSkosH; 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]:56376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXNmF-0004P1-AX for patch@linaro.org; Wed, 20 Nov 2019 06:04:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34192) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXNga-00070O-LC for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXNgZ-00072B-9d for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:12 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:38598) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXNgY-0006zw-Sp for qemu-devel@nongnu.org; Wed, 20 Nov 2019 05:58:11 -0500 Received: by mail-wr1-x431.google.com with SMTP id i12so27602461wro.5 for ; Wed, 20 Nov 2019 02:58:10 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=NY5Huuw32tJm6WEnS0WeU/lG0oOqGgFOecOoWzPIhZo=; b=ZEvSkosHC7vUHeaLNNN7RqZlililn2T3fnn78bfdiNfg2sW3OVdvY2T9wf8mDBDtHg JiKgyN0RyCJSYgpDcqxA/XZ/FUJFPlpKLVJmtJGoIm0IF4VWGGmZMxLT8wG8r/IuysEN kYrc0of9n/3lPNM0Y65PKarqJLnOHu0srpikaLWSlFy3dBHJY01iyLtOntpbdrcrYrpL bixs5MaNhl4heP89N41Ak5foapD8Jc515jA+m0SvDa2ZdEpnEIRBRGT9vKwn8nQhV8n5 i23DhON90gbGMYVKZMs1M3zWb74xkxlcoz4WXGEO3g/e0yQIVquGDIrGJOgNDgkzHsk2 UfPQ== 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=NY5Huuw32tJm6WEnS0WeU/lG0oOqGgFOecOoWzPIhZo=; b=s6SCTve6o6DvNuJDbDwUKL+t4D+A1m9r1+2puQ3oau7thKC7ROWhWx7XiouKP2BnS6 X0H3qxJN+OAAQtI5PYwYNprFhAJIQ/57vkF6rdvRmpjAvOUaI4WWXefrSLC6QE7hhESo U91jfrwsoL83oaT/dWvL9+AGhGsHcwQ7MRGAqnfHZ9yNi7wWQL1nZRe4P2xHVuaEAL3q yVgwrogrwY7csCFwSp05WHzkR0CHC/AK9OPH+OcCbFlaAa+J4IDqrgQmWC8WnCRDZk8i XrwqBoxoGqM9X2v+zijyhm9FOi81RAd6BPgmpXh5XlUXWTf7WpJxC8i4pl9Bau47mlT0 YWXQ== X-Gm-Message-State: APjAAAVOIgYRsMKH0NDo4a/gtsL9mFFOOCfqbNVfCFPfamFLIf/oA/n5 Q+91gN5m3ziU33tVNoivm5nx8Q== X-Received: by 2002:a5d:6789:: with SMTP id v9mr2428093wru.344.1574247489614; Wed, 20 Nov 2019 02:58:09 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l4sm6198890wml.33.2019.11.20.02.58.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2019 02:58:07 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id AE5021FF92; Wed, 20 Nov 2019 10:58:01 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 5/5] tests/tcg: modify multiarch tests to work with clang Date: Wed, 20 Nov 2019 10:58:01 +0000 Message-Id: <20191120105801.2735-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191120105801.2735-1-alex.bennee@linaro.org> References: <20191120105801.2735-1-alex.bennee@linaro.org> 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::431 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: Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , Taylor Simpson , Richard Henderson , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Taylor Simpson Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-Id: <1574032465-12186-1-git-send-email-tsimpson@quicinc.com> [AJB: tweak header line] Signed-off-by: Alex Bennée -- 2.20.1 diff --git a/tests/tcg/multiarch/float_helpers.c b/tests/tcg/multiarch/float_helpers.c index 8ee7903c785..bc530e5732d 100644 --- a/tests/tcg/multiarch/float_helpers.c +++ b/tests/tcg/multiarch/float_helpers.c @@ -79,11 +79,9 @@ char *fmt_16(uint16_t num) #ifndef SNANF /* Signaling NaN macros, if supported. */ -# if __GNUC_PREREQ(3, 3) # define SNANF (__builtin_nansf ("")) # define SNAN (__builtin_nans ("")) # define SNANL (__builtin_nansl ("")) -# endif #endif static float f32_numbers[] = { diff --git a/tests/tcg/multiarch/linux-test.c b/tests/tcg/multiarch/linux-test.c index 673d7c8a1c2..8a7c15cd312 100644 --- a/tests/tcg/multiarch/linux-test.c +++ b/tests/tcg/multiarch/linux-test.c @@ -485,7 +485,11 @@ static void test_signal(void) act.sa_flags = SA_SIGINFO; chk_error(sigaction(SIGSEGV, &act, NULL)); if (setjmp(jmp_env) == 0) { - *(uint8_t *)0 = 0; + /* + * clang requires volatile or it will turn this into a + * call to abort() instead of forcing a SIGSEGV. + */ + *(volatile uint8_t *)0 = 0; } act.sa_handler = SIG_DFL;