From patchwork Thu Dec 21 03:16:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 756949 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp687487wrw; Wed, 20 Dec 2023 19:24:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IFlSIwAW1jb4NU5TdTq4VraclMPnu37O0gddTzgqMq6+G8e3ey+W3Vx6CZYouSTNNnsKtny X-Received: by 2002:a05:622a:178f:b0:425:95c5:bb51 with SMTP id s15-20020a05622a178f00b0042595c5bb51mr54244qtk.67.1703129086665; Wed, 20 Dec 2023 19:24:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703129086; cv=none; d=google.com; s=arc-20160816; b=AryYIKZgfUzIk7uz2Io3m3tGa2c02kU+cLumIOCzDdowVcdT/gK1PeS8LI4GPiugcc RzF77Ev+zOdm+PXylcsKsN1bsz/P5TLONf7AryoQdujlYTsz17ncHXB+BgvBN9RhtwNZ Lf1tQYAMCdbampI3pvma78ZKUEJzLqMfwSD827Pj4ROUzsOuC1CPaKibMV9o+r//xE6S ONLaJAZ9ijkJ+AgKvgjg7R87tqZxQPEeNHQMqEqRbizA0r7vsvDrbc2hUSyRBP2YWMRi P4FT+SAZy6pOF+dFU8Te78kBhIYPVXEvj/Tw4ogM2QQNWIjm6ncGgO/Nq/hYgLi3JkfY yuNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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=sdv35G3T+A4gKg/Gxg6M1zcFHs/vftubJ4fYNQHlRAI=; fh=OD2lp1dfJFstOGLpXnIzbHomhWx3nF/XGvY6bQVU7c8=; b=LV1VWfTUvuriPMoj9TF0WBzcTluoe4z1pu0fJFgthoGuPw/GUnG4b+Qd6ar23H7Sal yZmGN8vwSu2tZoBZPPIxbGWAofXiGNLT4Rc6RPGfG8ML8mGtAl8bwnttV3YTNr89u8m0 LhEV9Y1V6aeDDrDu1d8ke6M54O75Rsx21KtmF/6+U4E8H9nbLbtoEuQqYC/U/qW4P0MR cVAudvLejsk1kCWN+AedyspFeqCbAa2DN+27O302E/2F0+eSPuImpDCMuqQFTUnhrJU2 0N+1qlXLG9dghzErSr3SiQUnz9DYR844R01iQ04m7t+elB3gRdSdlSOnoHHpgXJW5LNF YL4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EumBMpTN; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b10-20020a05622a020a00b004236e29618bsi1181130qtx.323.2023.12.20.19.24.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Dec 2023 19:24:46 -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=pass header.i=@linaro.org header.s=google header.b=EumBMpTN; 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 ) id 1rG9em-0007fv-7I; Wed, 20 Dec 2023 22:23:33 -0500 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 ) id 1rG9ef-0007ST-Fe for qemu-devel@nongnu.org; Wed, 20 Dec 2023 22:23:25 -0500 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rG9ee-0006mV-24 for qemu-devel@nongnu.org; Wed, 20 Dec 2023 22:23:25 -0500 Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-67f296ecb2dso11247866d6.0 for ; Wed, 20 Dec 2023 19:23:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703129002; x=1703733802; darn=nongnu.org; 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=sdv35G3T+A4gKg/Gxg6M1zcFHs/vftubJ4fYNQHlRAI=; b=EumBMpTNW/e8mqIn4MNSaU1druprPXkuRwz4vaKUfXu7jqKdm+wp3mb6L2+pWpn5zP /amtTw+8WTlYdZD/9CUit7Q14abkSH+mtZMEbTIO2jh1AfTbKpgdYM3+KKN/F9phtoz3 LOZZd1BfcKuqmRSpb08bWCclEPxAqiRehI1duwan78H+4+y8WwbHELPQlyg/L4GQaOxi dp6oo1tnm9ti0RsNMd+HP3Wgd+ZttLUuPWFGlH4MF0gLH1VtZ4iIFzknYzIvyGau8PUm 2WZHs0hrdEkJOxjQzlRJQgEH2F0V8ilnUgEMrtaMn+8+gi1iMCdfHYn0/X1BsgVvgpwv hCow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703129002; x=1703733802; 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=sdv35G3T+A4gKg/Gxg6M1zcFHs/vftubJ4fYNQHlRAI=; b=nN4Cqnx1K0OnSohi4aq0hC1PAv5aWILDbiChiU9KlWWSA81eX2zcOI2t0xm+gNogEH /S57H3yqDhJE3FQ6iahmd3cba4nnKxpj8DhzAOftZXidDJDFEMMCVrjI8qRNzWlpL6hQ NzZbt2EdTgEXAmRumdeWZDR0gfuTpuQoO/kc0hromVAiu6eLj3dcmtkhcfr/j9S01c61 r3F/EIqu4sg5mZQcsJLqGiZtLqDx6XYgIaLQ/mGhP84zReeVVeSfE3m6Q8Vwf6hCGJsz xLKhcxHTDtrwnkivXeQdfC78fozXRpQOCrI4iDCSfJ6MBTcAedF22IFJpdfapw13j26o sKEw== X-Gm-Message-State: AOJu0YxBKU6s3XIGdXaCzBQBodIlAlz5RzImvfrGf58UDE3hynUiq+Ku Tn30WzzYkYmUhlbol0El76KYNLdnFwWADrJVrtOOLb4SdBwT0Rks X-Received: by 2002:a05:6214:caf:b0:67f:40eb:bfa7 with SMTP id s15-20020a0562140caf00b0067f40ebbfa7mr62775qvs.48.1703129002650; Wed, 20 Dec 2023 19:23:22 -0800 (PST) Received: from stoup.. ([172.58.139.164]) by smtp.gmail.com with ESMTPSA id l16-20020ad44d10000000b0067f7b6318b9sm347257qvl.10.2023.12.20.19.23.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:23:22 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Alistair Francis Subject: [PATCH v2 48/71] hw/riscv: Constify VMState Date: Thu, 21 Dec 2023 14:16:29 +1100 Message-Id: <20231221031652.119827-49-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231221031652.119827-1-richard.henderson@linaro.org> References: <20231221031652.119827-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b; envelope-from=richard.henderson@linaro.org; helo=mail-qv1-xf2b.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, T_SCC_BODY_TEXT_LINE=-0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Acked-by: Alistair Francis Signed-off-by: Richard Henderson --- hw/riscv/virt-acpi-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/riscv/virt-acpi-build.c b/hw/riscv/virt-acpi-build.c index 7331248f59..d3bfaf502e 100644 --- a/hw/riscv/virt-acpi-build.c +++ b/hw/riscv/virt-acpi-build.c @@ -374,7 +374,7 @@ static const VMStateDescription vmstate_virt_acpi_build = { .name = "virt_acpi_build", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_BOOL(patched, AcpiBuildState), VMSTATE_END_OF_LIST() },