From patchwork Mon Nov 6 06:57:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 741243 Delivered-To: patch@linaro.org Received: by 2002:adf:fd90:0:b0:32d:baff:b0ca with SMTP id d16csp945376wrr; Sun, 5 Nov 2023 23:00:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IGLxDjRhtxBymzVjK59M0r1RN/xf2m63JgXo+9uLOP0gTyG3Cjfqyp42sM0i9RUGR8q6oEH X-Received: by 2002:a05:6214:f29:b0:64f:4240:8e1b with SMTP id iw9-20020a0562140f2900b0064f42408e1bmr40027532qvb.44.1699254024042; Sun, 05 Nov 2023 23:00:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699254024; cv=none; d=google.com; s=arc-20160816; b=bURUuUuTQY4Ceo40Ti9JLycjBuNx/Pu5pGAvD7NxSqFWHkEhYkAY2CovHQw49NFpSI BY8ZRyGFj986vyTDsKcLAikrcJPfyXCNblDEdQ7KCLqL8PirssAw50OmjHsKRRZWt4pq AkPSzOAdt2y2SPGCJvfzrWCKgkIb47j33j+dXajA8hpjXsuAFm9gTJMMQQHBNkWajUD9 csXC/y+LyyIDd0BqhAyvlaaMssBPgZ2KYDOeC9mjJQhm4/jcvVbD4Chr/Z1/sO18XtwH X/ygQoFVUC5C8nd7cHidS65o2NHdUsxv8C+BN+XhuMZqebs8hUGajO7WcUFDPN1gYaxI 9DPA== 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=6Kp3LdJQ+0DDW7fRbDra81qjp63RB68lSrd0D+4IAlw=; fh=U+hGNjcWZPeyLe2bTdTFM68h7FRptferheHiMMFpeys=; b=opQx1evG2qEmmMVU1eS14QL+EvxVnGkxA3kgQVc+iPzORTiqLFNoLCsWM/6bNh2cTK eSwJLBpdOB9NqjfmdX5dYA9i3iCwnP7RTqxUVleZQrW74MuD9EKkJNZGIhi34Z+ROFbu VOBqQjXRLBzljuYlGgGtKz5kk+9sTD3DpuAZEGqcPYC/LyxQ1/xGewAxE1SOOqoDReyx XaCvCENzn8envrDvmcMPhqNGdBOBDINsEJKO4YOwPd3MKBnpQHKWr8V1g8ejuZ5NBdUW llFAaw35V76lnxPGqjACP/dDO65AS1B7Vm8/hM7Ys6rb9PAO4l8WI3hPzC9GJ3PWTIS2 Dz2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XKRHKl4p; 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 x19-20020ad44593000000b0065af9ba7afcsi5429716qvu.92.2023.11.05.23.00.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Nov 2023 23:00:24 -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=XKRHKl4p; 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 1qzta9-0005Ys-Dn; Mon, 06 Nov 2023 01:59: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 1qztZS-0004WK-Ay for qemu-devel@nongnu.org; Mon, 06 Nov 2023 01:58:53 -0500 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qztZQ-0001PT-Qp for qemu-devel@nongnu.org; Mon, 06 Nov 2023 01:58:50 -0500 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1cc3bc5df96so27808745ad.2 for ; Sun, 05 Nov 2023 22:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699253927; x=1699858727; 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=6Kp3LdJQ+0DDW7fRbDra81qjp63RB68lSrd0D+4IAlw=; b=XKRHKl4pLB4LSXSWoqY6Icyr6N5Ui/BAArWHMWDtaIsDiWJaCur5rAn6B2M8g8CZXE csSUG/i3LymRulklLbdjg1OXrLZJGTHh1W9BaibLegygbDvpGO58EMet1mSQ1VUTyyuG fPn+Isw0B6RwgGbrkOLXRnyTZryJVM1WH2A+ojZbW34bJkd6z5oWH14GS74CD+Dum5sp 2cbsgqasQm7377mVL6hyqaoQcQQQqDxeS2ZtCYj+IAq13ggQM0J1GrBiGqkpZDtlSDWY DnZO9SlAytOfGN3hlAFeLPYwv7Fd423ibdwLE3yJtmjiHmnIos1qUnnf6uCWOuHTahxy 6RzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699253927; x=1699858727; 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=6Kp3LdJQ+0DDW7fRbDra81qjp63RB68lSrd0D+4IAlw=; b=gxTSpivVe1YKxBzMROItLw1l2e4FCJvMAMIv2s8UFuSAabhFS7yzTwEkHW+r+loKD8 KgsmUWgW93FneB2YHEJ/Lxb3nb/9Px0ExH0rNbzZnA/PEEiaEkXPwW960TeMuvsfMid8 9sVdt6fi+xlLA6Ai6XnneWfJX4Fc5tJ1yhVsVg2nAKQmy/nomHeV/aF7GnJzy3xch7dS y0cn2Ng2XiI5eAWBT5ftJGXxfPIiiZLCXqU1tKeSKsAz9OC7Lqdq0Zhr/Ru83L++C+k9 sfHb3fgFlIQvrvld/6j8xWILilM/cmfLGWjZQFLHRE2yjzQ+bViZK2wU0Mf0QsOtkwzn Sxew== X-Gm-Message-State: AOJu0Yz12PnrzGlYcvbwIGfMF3j6d8jN4OsFougUkErrOCwaDmAI3Xw5 X35u+L3Q2hHQHBCGhQYh14y8c1L5vM1kVjWGAjA= X-Received: by 2002:a17:902:da8d:b0:1cc:548d:423b with SMTP id j13-20020a170902da8d00b001cc548d423bmr20427837plx.60.1699253926595; Sun, 05 Nov 2023 22:58:46 -0800 (PST) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id c3-20020a170902d48300b001c62e3e1286sm5167130plg.166.2023.11.05.22.58.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 22:58:46 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: quintela@redhat.com, peterx@redhat.com, farosas@suse.de, leobras@redhat.com Subject: [PATCH 20/71] hw/9pfs: Constify VMState Date: Sun, 5 Nov 2023 22:57:36 -0800 Message-Id: <20231106065827.543129-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231106065827.543129-1-richard.henderson@linaro.org> References: <20231106065827.543129-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x629.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 Signed-off-by: Richard Henderson Acked-by: Greg Kurz Acked-by: Christian Schoenebeck --- hw/9pfs/virtio-9p-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c index 5f522e68e9..efa41cfd73 100644 --- a/hw/9pfs/virtio-9p-device.c +++ b/hw/9pfs/virtio-9p-device.c @@ -237,7 +237,7 @@ static const VMStateDescription vmstate_virtio_9p = { .name = "virtio-9p", .minimum_version_id = 1, .version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_VIRTIO_DEVICE, VMSTATE_END_OF_LIST() },