Message ID | 20221026021116.1988449-6-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp115713pvb; Tue, 25 Oct 2022 19:25:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM62YttA7DKyyO9bfTqx+mWUQyts+xjlsdqKvdlD2LPHxTTivsdHJ5awMgnPrM7sqZwXRzcf X-Received: by 2002:ac8:58cd:0:b0:39c:b865:8c71 with SMTP id u13-20020ac858cd000000b0039cb8658c71mr33745636qta.38.1666751145686; Tue, 25 Oct 2022 19:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666751145; cv=none; d=google.com; s=arc-20160816; b=Tl4vd0LJlRkW8UFWPNVQzGmYA7piFUGsZmC/60GAVZ/tXb3iUuT7gWT/6p3yEJsrSv V4+WKX9DAp8AihG50EYtRwKnaMepvPqYHHBfzszkfA1spH2jzLoV/EcJ7k+ZotpapYCA JzImcQFONGuEkHd66tT7MHuJa9uvNUZLkuyE+rfb9r+57qdM12p0GCDJ/sfLmW4nL77Z MsRfTaLW3JQJzlZABs95lnBzpk7FCFcqiXKij7jWDSYm0lexT6FymlceqNeQrU8jl3pg BcwHN4RrHqtc88WA0VmsjCj2FU9ABZh02DunOeoRPKrP9dYPqCPsX1uNiY0SgL3EmICl SgNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender: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:cc:to :from:dkim-signature; bh=w2X6gsd8PMcmjrRwm+ALtjbDa66PQBauc/+3lmBMcwY=; b=GeSReh9hnJKdqQP4GbX2swa35owifrl3VwGL/0Q3B+AXA14Gl/m5f85i2tmrhsM/ET xSSfjWelfeaSv2CVYGoblN8DBqY07Oi+WvJ1xgpQiYC23xF2ar1LCSFG99sMlDHs+7kX YV1crFh2f8EkmnMhGqXQR1ZcSYaiLNkYlWhwY8BpnAPhKG238veJ9vl6WbOTUk+NW75H yalVuiw8QS3mleziE051aY9gqfRwLOZ38zMPPLbtD63tCC6KhV5WXsGUhir+TDzXV6fa czvAOItEzcmn9gD1TsGQoSeSTy4icU9S+tM4numRDu5nROjjb+MSPXjfscwHp2gTVI4G jzDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zDU6duHf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id fc5-20020a05622a488500b0035baf834a59si2913000qtb.221.2022.10.25.19.25.45 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Oct 2022 19:25:45 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=zDU6duHf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1onVtW-0004r0-Kt; Tue, 25 Oct 2022 22:11:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1onVtP-0004oV-2j for qemu-devel@nongnu.org; Tue, 25 Oct 2022 22:11:43 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1onVtM-00015y-6l for qemu-devel@nongnu.org; Tue, 25 Oct 2022 22:11:42 -0400 Received: by mail-pf1-x42c.google.com with SMTP id e4so9967785pfl.2 for <qemu-devel@nongnu.org>; Tue, 25 Oct 2022 19:11:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=w2X6gsd8PMcmjrRwm+ALtjbDa66PQBauc/+3lmBMcwY=; b=zDU6duHfkG1yU2wM+HV3RNjISmRIzC1pAQLu4i8qAAxVmwvypm+qCIumbtzLcnfvZS FBg8HwDG7JrslisNat4l8cESKlk8tqZGqh9BdVSDC64BxvUVa8iL1y8IWHL0O8zDaeIs scJDjUqQZ5Tsr6n0Go6EaupPAPDAT2g/0JSRIJfSugz9K5E08QgrVTMAVLg6WHCzBdjJ KdEMNbprBQxUd9Tucz8dfBG/qswh5GOZkiP8dSGxjh/6MZFuJsmo4fQPS0Vgrjol8i1X mBPy5idT7cdn182SdPOb//VeVXI2Ev8x/OGhC6MhzZ15gYkFt0moIpigf4gsqxtGBsIv JX5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w2X6gsd8PMcmjrRwm+ALtjbDa66PQBauc/+3lmBMcwY=; b=oXbOPEyAAI6d43ArFkFAl4ZyChYlXbItlBS7gzM5H4Kilbl4jSWsaP5lrU9b9VxcDu 8G94VMZFDWhQ/awOZD/VwhLhC3jy84leRz9NbbNAt4i5E9OBzl0b4LmLT3bGxtgsXkgD 6ZO/dRFt62OUuBAiOqlAl7rRvRTYWA2wHZW9nAqAXrjQ93RvDOfV+eEI61Qr5BNuyLvQ nVmtqNl/rcnoS3r0jkJ8tDGY1KV0WWLhMF0nFbesVA7nCcZchh0Fj/seOSVlsqhd/+Rn wo6DY/qG+ZdyoRHyqOhtqbCeVJAm92GIP5EZPv55BkpT9p4iiOq2DzyfFDc4w/KxSfL/ u5rA== X-Gm-Message-State: ACrzQf1AXvg3/ZMW3BxfdXc9kj7M60S9eLMCQ7f/OEOIHUnUPdedNPdS oznZUn9hGsgJxCXeKh9xw3tKvjipVxSvD/cC X-Received: by 2002:a65:5605:0:b0:46f:1e8d:ece9 with SMTP id l5-20020a655605000000b0046f1e8dece9mr8611000pgs.249.1666750298814; Tue, 25 Oct 2022 19:11:38 -0700 (PDT) Received: from stoup.hotspotlogin.services ([103.100.225.182]) by smtp.gmail.com with ESMTPSA id o29-20020a635d5d000000b0043c9da02729sm1897833pgm.6.2022.10.25.19.11.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 19:11:38 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL 05/47] include/qemu/osdep: Add qemu_build_assert Date: Wed, 26 Oct 2022 12:10:34 +1000 Message-Id: <20221026021116.1988449-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221026021116.1988449-1-richard.henderson@linaro.org> References: <20221026021116.1988449-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Sender: "Qemu-devel" <qemu-devel-bounces@nongnu.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/47] Revert "accel/tcg: Init TCG cflags in vCPU thread handler"
|
expand
|
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index b1c161c035..2276094729 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -186,6 +186,14 @@ void QEMU_ERROR("code path is reachable") #define qemu_build_not_reached() g_assert_not_reached() #endif +/** + * qemu_build_assert() + * + * The compiler, during optimization, is expected to prove that the + * assertion is true. + */ +#define qemu_build_assert(test) while (!(test)) qemu_build_not_reached() + /* * According to waitpid man page: * WCOREDUMP