From patchwork Fri Dec 29 21:22:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 758812 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp4671511wrw; Fri, 29 Dec 2023 13:28:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEf1ZNF/D/33oG9+c/hFR77wdvCAhxXSuUe8CP6miIi8AsJyASObABSiPLlKEjYL4Jz9wCT X-Received: by 2002:a05:620a:1918:b0:77e:fba3:a220 with SMTP id bj24-20020a05620a191800b0077efba3a220mr16922120qkb.122.1703885291044; Fri, 29 Dec 2023 13:28:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703885291; cv=none; d=google.com; s=arc-20160816; b=frgBLT6deYs2e62kpe76RTWXVlWz/KJjEchFUfQdHK7tlEwPwXFzveS5aICiO2HuaO KsE6j04HRXiUG/a1v1RBqUXn8AEukrEYTeAnVdo8ZM/XiUgFeCSTb1q8gQa89whOYSZm Q9gvGO8k5FJuGRkzdw7sS4APae0iUNHbv7qraNuKSDF6W8ZAH4Td+UgmRR8mm7gNhQ3D 8TLDM/3nTIykYOp00hhVqyCHFukJYT8z0m0EvtfTNijQSeCSeq9vH7waC5DHxlCGIYdb m5Hc0bpXNXndRNI5XVGvcVo1rfUgEFmpJ1YaascmGodMe9ZtHbFhrQIrT+2cMDTHoJ6b DFNw== 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=OWhbEXkC1GW/Vbr9cJeB8yQeDQQ2N/bSYDuiieojzSA=; fh=4a/xJBKFPbIePV7C4z+fxJKuek+JkHMUL6iUyRF9HeQ=; b=XFwTVAq73xlzU/Mpgn3FPiXzXyp19rnP7Tx6IXH7ASlWRkDyzXkwvB+Kv41W2mcseg W4w23+7agQnuzhjWPxHgTLGczEwLNydC0DPHi7THh4jc2VFQ+Ri60AOnAMd7+Ge5uqP7 7EOGSKbNOJIlQp4CEfwzntARnomAwes4yU2zo1JlPxuPhsLhcWPuVHECrdcuJVaxILEG jHneEz4zQPuE0thI50IzDhvnfZ9GfruvxL6oEuiTaygI7hPElWa3aAN9+cqtnbiy6/Qm uppvEpcpYAU+hPe6x/0249dTstyAU6V3v4VKx/oSI6gOBH5WSmBrZEaVTRbAx0F3RGO2 FZdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gJzjfvA1; 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 2-20020a05620a048200b00781575a8695si8159308qkr.667.2023.12.29.13.28.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Dec 2023 13:28:11 -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=gJzjfvA1; 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 1rJKLV-0007FC-Eq; Fri, 29 Dec 2023 16:24:45 -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 1rJKLU-0007Dz-3s for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:24:44 -0500 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJKLS-0006od-NC for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:24:43 -0500 Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-35fb0dcec7aso32580055ab.3 for ; Fri, 29 Dec 2023 13:24:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703885081; x=1704489881; 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=OWhbEXkC1GW/Vbr9cJeB8yQeDQQ2N/bSYDuiieojzSA=; b=gJzjfvA1zfd9yIyRawgE8LKFCdXIcoilf/eF8aDnO+ii3UrQqh4rWmIF6ZO2ZE7myF m3sScsI6WS7+fo8IgcCioJLcxnxD9Y34nuB+aCXsA2WW9/lf9E4DCxHZr4rkrKBSQC0l /aTbZCgzaeASbl4HdgIv2NM2p2h8agJSSr9YUtiaA6nIBKCDek7l8OarmYJ+vwX5GU55 MV6bd7kuVIBeKJg3XEkUp6AxsjIVNAKFVovdsjuZCWPz/oW/lQocys1dAW6sYvMQQrjI hPbeJDTAwSMrNuEunSxigwTplYzkRn3xmO34eYXZSRdtPmv4Xvoy/iCQMJNXlnu10Qti gmmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703885081; x=1704489881; 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=OWhbEXkC1GW/Vbr9cJeB8yQeDQQ2N/bSYDuiieojzSA=; b=oC4BItvuE3xAxN+oyYlT5BzPL0jBOF1lpdamQDDzxUKvlsV+CuLOpd0W4K85ov/4GC eUfCR+gsCL0u4M93p4EhVEmbP8THZi8vFguJaP6K6/Zxam8rHqJX5FXv2t/iu8RJjEgL zTG310YvHOvq5NkBRt7RuPWJ+FrExoV45V7lEcFq8FdbHL4eX5NMCYLAKomi1TDGEmPq X38hRHaAysenPz2TAOJ1WP7o1TgZz0zF6ciQWjJTcOFk2rflkyj33pmfe5wRtzWDqe2r RKa6ZnZ71xfDpPAmFUHl0CbUZo/Fp2ZkkOJE9fSpP0iiQMlixZpeyw4Y5qW/RfVNAcT9 eJeg== X-Gm-Message-State: AOJu0YzDvQ2egLqDMmgqXFofrQG//bBH5ZGu8S98IgOCd1q6icoOW7oR Zo6t0DMhMNqdOsdkeOqSf1EIUfT1s32QNQbzXleuIMnM2C0UdA== X-Received: by 2002:a05:6e02:144d:b0:35f:e83e:88ae with SMTP id p13-20020a056e02144d00b0035fe83e88aemr17087448ilo.21.1703885081554; Fri, 29 Dec 2023 13:24:41 -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 a34-20020a631a22000000b005c65e82a0cbsm15016237pga.17.2023.12.29.13.24.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 13:24:41 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Greg Kurz , Christian Schoenebeck Subject: [PULL 20/71] hw/9pfs: Constify VMState Date: Sat, 30 Dec 2023 08:22:55 +1100 Message-Id: <20231229212346.147149-21-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::131; envelope-from=richard.henderson@linaro.org; helo=mail-il1-x131.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 Message-Id: <20231221031652.119827-21-richard.henderson@linaro.org> --- 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() },