From patchwork Fri Dec 29 21:23:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 758854 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp4672725wrw; Fri, 29 Dec 2023 13:32:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAUPt6iecpiaetcTenavg6eVmg41wWCNIggYtOeXpOcCIT3OX6OZOFeIF/EP+Q0oJWkO+I X-Received: by 2002:a05:6214:262d:b0:67f:1f0c:b311 with SMTP id gv13-20020a056214262d00b0067f1f0cb311mr17098995qvb.29.1703885566118; Fri, 29 Dec 2023 13:32:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703885566; cv=none; d=google.com; s=arc-20160816; b=of12wzij2SwJUc4Ise/K+/aOx7VnKMSvJmy4iMwaBeAcwscvUpAqPMr/SvxvMkU/tW /cPz0+bRIhKqSvRG7Kja8aq+9N8kYCEiyZQ/tD6ZpQSgrqTRBV4l5zCubuLdmU8VRMJ6 7N/V75ijvTCsFO3Y3AnJcxkQs1fh9kN6GDhidMAlePm52yaDjYDTx4DdNEPqgr/u1xWb FY0mpeGfz8K3eFZFaWYqlJ636YBowjUHJFhSr+fjksg+WiBf5/OxpPKtvN04M3iGwLfT I7M/+0Tl+325kSmo5/Lvx60DAWkHZZq/5cKAjgCGPWKS2u8y42Tw6Uo0Sti+g75IlZvs Nwhg== 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=v6UWy5Kz/mx3PpYWESm1flcywcYJB9sUPeJQepdOHfY=; fh=OD2lp1dfJFstOGLpXnIzbHomhWx3nF/XGvY6bQVU7c8=; b=iRSIY8OoCbnEG4QDJZxyjLP99zod1vJcgaDwujOfhCWlm7HU7rccCJQYh/VCEYQQ4V IrCsnzJPRTW+7VI2eUiJ8AEvwmmcqze/yjlJ07Xe8dRT7ZANjy2vEQVPOwytM/omjIvO rao/DgxQoauH8sIfyZidMoMSOuWghzj8RpKTtPXIxAK1RlRiJxT1MnSiLntGqpb0pkjW BG7mJaSaCDOVRmqXdjARon9B13CRgb/5pGE9ps+qogdlrsSEZhtsntkAhlmcH65pU/sI FSjos+46oziCiEr7e3WXcIG3IG053iNpVVxhvgwgTuL6OJAg8T6V60Baar2zymzqNoJG rcaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GEIL1ShM; 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 gv10-20020a056214262a00b006803a797f51si9372947qvb.612.2023.12.29.13.32.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Dec 2023 13:32: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=GEIL1ShM; 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 1rJKPb-0006GK-2u; Fri, 29 Dec 2023 16:28:59 -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 1rJKPS-0005VH-T3 for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:28:51 -0500 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJKPQ-0000Kt-Qi for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:28:50 -0500 Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-5cd68a0de49so5228422a12.2 for ; Fri, 29 Dec 2023 13:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703885327; x=1704490127; 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=v6UWy5Kz/mx3PpYWESm1flcywcYJB9sUPeJQepdOHfY=; b=GEIL1ShM+rwndJMRIa+AmGCPLf6DhneoUM5LzqYD3UGxqEZkgcC+8QgvQwQUQrSe1N vp3M08MvzCter6LYFRKgwyj/8I8Y5WEI2tboM3oTnMzU7xSGGavzDduy6COnb7wrZNWz W2RrBa3CG1PqRTd/vnNuMzLrLaaW5SuW4u16QmfV0n18MsaykOzZlawy8dGpTC76tRmM LAPc8qFF9LRQVyOXIWSSTlKBpdE5zi80FC3sa4vVignLEFCZzsIn1A3zp5ngS0HktEpP 0sNvpD3yT4ZXPh4mG9iyba3o+puqnuqCRy1Rh2DITyQgQ1TprTOAQdH8AGdgq2TLLk+l kMOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703885327; x=1704490127; 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=v6UWy5Kz/mx3PpYWESm1flcywcYJB9sUPeJQepdOHfY=; b=j5sGK0CqgCtEz8TvE0oIyfxSle2tTaTDutrqtV20t3txQRJNpzkcH4fOOcrfH2IAek wjOeUroXrqNeAsWcLsoDeM4EpYvu8ocHh6VbzT77oM291DStten7YtPfx4d1WwAGfOtN vGT1uV4rWRYRV8YVTDT3i3XPum1xvtQ5on70tU2hphtaKrLVT2BNwkRO+j6ZZZm4tr3M I5LGUs4/VqPuIva49iMGqx8KpgnzURLoIA3E2P/5xXMhDvfuzUcHYrEh0Y+kkdivtT7q UlLn1p6QbPOeN09/0UI2ofqFMi48RS+oBmcWKc7UZTf/1RpvEf4GGzsTGE+DUy87oP+Z 4YVg== X-Gm-Message-State: AOJu0Yw10sCDLsYuNVn5OSqz5UUzolsmJzVVZs5pDTfF+pqCsLsPWurv TuQfvYYI0MDdl8PScuP5s7+Mb78hmnB9FN8daUb0w5iccA0QLg== X-Received: by 2002:a05:6a20:748b:b0:196:6b10:f3f4 with SMTP id p11-20020a056a20748b00b001966b10f3f4mr2830626pzd.74.1703885327542; Fri, 29 Dec 2023 13:28:47 -0800 (PST) Received: from stoup.lan (203-217-28-32.perm.iinet.net.au. [203.217.28.32]) by smtp.gmail.com with ESMTPSA id bd33-20020a056a0027a100b006d9a96b7d0dsm11285396pfb.208.2023.12.29.13.28.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 13:28:47 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Alistair Francis Subject: [PULL 48/71] hw/riscv: Constify VMState Date: Sat, 30 Dec 2023 08:23:23 +1100 Message-Id: <20231229212346.147149-49-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231229212346.147149-1-richard.henderson@linaro.org> References: <20231229212346.147149-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x531.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 Message-Id: <20231221031652.119827-49-richard.henderson@linaro.org> --- 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() },