From patchwork Thu Dec 21 03:16:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 756917 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp686308wrw; Wed, 20 Dec 2023 19:19:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGKV4YtMpO9iJ0VrJ7FI356zGLsIW/xm3cELqkZnFF8M5tg1S8tPE6/WVt1K5jX+eVhm7Dl X-Received: by 2002:a05:620a:4891:b0:774:cf9:b206 with SMTP id ea17-20020a05620a489100b007740cf9b206mr19223683qkb.42.1703128776999; Wed, 20 Dec 2023 19:19:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703128776; cv=none; d=google.com; s=arc-20160816; b=petN5qWimTddAOlrF/wrfN0L6Cgk2Gq4yhmE+z0oUWrvozeNTYEJhePFRS0SuDjSlz BVMMr/zv8oSjgHWz/aJCEMIw00hlAX916t8Q+lGW6xEFXJPxxcYnFffehfROWcPpVRaQ D7KJIO1CJjwpj6ZAOsqm+2/bTcWqsW11qgQpAKk96Bik01SA3aJq++Ux4kdZwmr1Wuqc G2NgkMP/NKGujyLfXKQHIrhaY1Kde7EAVYoNmanPcQo+iKdWBKiv6G+Z0iZDt5hveRQW W8ywdVtTcZ5HzI0PBdJItyqrcf3RlSADQD0C7pkgUmFPcZrSjrVeZHE9zCuDg/bmZ096 IhhA== 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=4GHmE213/jQLNhCgwdpR/N76z7mYnciRc3jPzsuH3Qo=; fh=4a/xJBKFPbIePV7C4z+fxJKuek+JkHMUL6iUyRF9HeQ=; b=fIR6dyk7udiyc0m+QGlYHc0NWEkC2vp0nkDhZJaKvxH86L8HbnD2kvbZyxWEu9SZeb skugF/4qp/8jkri1TjkNOEX2jZKOmes+PFtzSDVpRejlBigasw5johJi+5HtG8x/1Qa0 ZJ+QfakKrvJhIbxR8g4m+JT+ApPBHIVyO2k0EiSab5pCHPSkwyEIvPcU8Ch9cLY3a7JH aVkAQ/RRL4E87ie+b0lq7/ulL9xlWkC4NQLwOaassmHfPnGv0WktOOnV5Ox2vgLccf4k E+bp6P+TikctZ0LWSf+PizYUyiJasGwnxFfZTwPbHBzJKCj54aqtwZPDjxCfEFlpaxlM majQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FA8s1Ndn; 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 x22-20020a05620a449600b0077d69adf6b2si1407651qkp.356.2023.12.20.19.19.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Dec 2023 19:19:36 -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=FA8s1Ndn; 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 1rG9Zy-00007O-E0; Wed, 20 Dec 2023 22:18:34 -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 1rG9Zw-0008Im-O8 for qemu-devel@nongnu.org; Wed, 20 Dec 2023 22:18:32 -0500 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rG9Zv-0003w6-38 for qemu-devel@nongnu.org; Wed, 20 Dec 2023 22:18:32 -0500 Received: by mail-qk1-x730.google.com with SMTP id af79cd13be357-781197600bdso15722185a.2 for ; Wed, 20 Dec 2023 19:18:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703128709; x=1703733509; 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=4GHmE213/jQLNhCgwdpR/N76z7mYnciRc3jPzsuH3Qo=; b=FA8s1NdnE3ZfO/rOtlsx7rzE1elsNsQd0Z7KXaEZselSlajcDDx4/GHgkzdU0HkdOE 7rVB0Bz2aWrEK0DvUosXzMl6WlaPpvxXV3hUwJX59BrN92wq3RFh2I9JbJas3X17frHc QUme2MxN/8RfqMD1EF34tB4aLqoi+2A8fIa4gm28Fi/tq/Wjy89ePXqaABDLzJR/BP1p yM2uoKeBFeHrrIrt2FFT1jkojYDp2w5BMmsNMMunvyJJF69zxWQ1mP4P7CHuXm9mVFh/ EgIi1JWvyXTZwOVRnz8cSesIsKnSxMaUX8iPFx1rCO8uBKzF3Rwq0kO1eYsM6/TO+Qbt /94A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703128709; x=1703733509; 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=4GHmE213/jQLNhCgwdpR/N76z7mYnciRc3jPzsuH3Qo=; b=pKlsMXs7MEemNI6AGb4gtoN3vhrveds2W9wFLQBA8KS+4Z5OBimfnifO2+m/QGQDmc 4MSfcyx0e5rv9Yl7gT8pdcVw8J3Di2qo0Ot4EIn8RoMAcgLajJ+wgiaU4DhER/Qyv+0+ /ErvC5oLStxnYvzzj36D1KipOx+wGnCT3VgpRnx+3vGFVt5OWjkEDv2uDKKQHBL/sbav g7De0KotessLRgYwYOIo79RuZQq2T2fScTzEd2Tcvpy0LbVvKDK8GLogN0f2NZ6CJjPn eoopAu5Y6BI68PDcj20o0jxqeIb7DFQElIRRKnwLmUHXnPHpCVCJ2w5+ZCiq/P0/xnsj RbCA== X-Gm-Message-State: AOJu0Yy+vzhuT829wtISa1meiRjVz7Ndxlvi6N8407Fen6LCUqa3X0UG Mk9hVSkR3oBnNQ+UjiNIljfKv2jo8iqR0V3MWcS4s3o5 X-Received: by 2002:a05:620a:2456:b0:77f:25ee:46ca with SMTP id h22-20020a05620a245600b0077f25ee46camr19640016qkn.143.1703128709174; Wed, 20 Dec 2023 19:18:29 -0800 (PST) Received: from stoup.. ([172.58.139.164]) by smtp.gmail.com with ESMTPSA id n8-20020a05620a294800b0078116d55191sm360808qkp.130.2023.12.20.19.18.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 19:18:28 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Greg Kurz , Christian Schoenebeck Subject: [PATCH v2 20/71] hw/9pfs: Constify VMState Date: Thu, 21 Dec 2023 14:16:01 +1100 Message-Id: <20231221031652.119827-21-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::730; envelope-from=richard.henderson@linaro.org; helo=mail-qk1-x730.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: Greg Kurz Acked-by: Christian Schoenebeck Signed-off-by: Richard Henderson --- 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() },