From patchwork Fri Dec 13 19:06:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 850266 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:2c4:b0:385:e875:8a9e with SMTP id o4csp1692110wry; Fri, 13 Dec 2024 11:27:56 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCURQfcnlC97Lzp8PSqZ21NPIDDMyT4Z3xIZ6rJCUSUsErtXKwkJAeBM2wDlv5QV2W7m8CvYIw==@linaro.org X-Google-Smtp-Source: AGHT+IFwnCRivsWE74BHWBNel7ahSB/VEf+fvmZPWwUBRNscKXtKzJ6XvsP9Lh7Ul9e0PgKyRBCy X-Received: by 2002:a05:622a:230d:b0:466:91f3:12ca with SMTP id d75a77b69052e-467a14a0ed3mr84422281cf.8.1734118076391; Fri, 13 Dec 2024 11:27:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734118076; cv=none; d=google.com; s=arc-20240605; b=OIahEu6dnmeMepf15DY3O6ILKyG8PHp1LbKP3S9WCLtFpZswCrU6Ul7k2/hIWEP82y uOETyHuWs+RrAHR/274++32bxFWJPSJx5XFAsz0yyVYuFqmjiTP/aTkgwykNa6JidU1+ aG6st/s0RsFS2MrROmcWSqdwBVBlgEL0Z1l5nhZfjYRVxQ/CELgQtKTsn/03AZYdn7PZ OOl/rKDWErFV3u6c3FQ9U0vNIGPyk9ayNQETTSNBAQ4KRDkLplDDAn8i0vGf2TmhYpG/ txH6Pdhccz87Gl0hSLue4lL8qB6TR7YqussKUC1ksWDBRY6oEeaIbuv8Pw9d9f9AQX2R vqdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=DK3m2qrYLo1FElKLISrWyflVJNfhiEXCCTPNj+B3ktI=; fh=4ZmJ1nJfTybW2PwKc+u/RJP4UFBV6m3fdpvgwHAwQoY=; b=jpFAqXQSt46/WhwRuwiEGdrPBvzHy8ZyDasYYXVSIY/yKa7EskFlIb2gF2vaCcVQ0N wbnC972ibXuxXcKeOmRQ71vxCBdA44s3r0Uazp4UhLCVth8Bsq3CJKRNf2FfsnQ41bI9 JuALxZmdV7xEJq0fMj5RsRa2jraHRK0bA7ugaDKHaL4B5PnuCxSMdgEABOqk+4DFm+yC ZOVkDyVG0IUy7k9TkoJZeS9DDGeTbHI037W7iqI4EQcX4bP9m4guAaIa8zXTPGh2m2Rq xJGcrk0sPnO9armfFT/GhgH4GZOekwcEjpd6W2FS6sGzeN3GLJcNoNyF0aS/UJEWAfew rZIg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IUwYAKCX; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-467b2c9752esi1844611cf.83.2024.12.13.11.27.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Dec 2024 11:27:56 -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=IUwYAKCX; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMB2K-0003MD-EB; Fri, 13 Dec 2024 14:09:16 -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 1tMB1x-0002Wa-2B for qemu-devel@nongnu.org; Fri, 13 Dec 2024 14:08:58 -0500 Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMB1t-0006Zg-74 for qemu-devel@nongnu.org; Fri, 13 Dec 2024 14:08:51 -0500 Received: by mail-ot1-x32e.google.com with SMTP id 46e09a7af769-71e16519031so1052230a34.1 for ; Fri, 13 Dec 2024 11:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734116925; x=1734721725; 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=DK3m2qrYLo1FElKLISrWyflVJNfhiEXCCTPNj+B3ktI=; b=IUwYAKCXWVg33ADuClOgHWt+XER1Oh0NjAjIJRz3BBZvhzhg4uuZAJ7ZuUwEC9EmVS xOtm8SfU/IzWD+zk44LsHq8reIRHSjECNfXZ1wsPn2ddvFsxuoJLd/GETQkCyNta9YF2 0L1GD5GBMI59WpG+T7JpluNH8vaj14a1lq2a8EJqRbjjnGgOEPHxbmRjr7LMrzq3+9ZU udGbOvJrljdw0udJ4rUva6woh0LR887pcZ4cLoQzaM0VHzf8k1n6K8qvHMD7gvT4/7oy 6mgNf9ugbd80LRJMVndM58JPGHUyK67eRMwW/slQevynNdZB2nP18vIcrmV5QI37zYe+ jlXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734116925; x=1734721725; 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=DK3m2qrYLo1FElKLISrWyflVJNfhiEXCCTPNj+B3ktI=; b=CX/5vhXqHcxpB0VzbIDk2tD8kDLPTdcAQsQr6NwWDEZhtcokRf3VjnSy/jMaxrYahp I5ApbUMph8Jy7qjpXOqSeeovoefpz1klIo+M/dkk25tguHldTdnb4yngct57hTCViX6Y D5p3R74hVzVrVxqYxS4cAPkhIJ/SiLMoxb7353FHItm+goW1gjFWdU9hwGakNQY322a4 cwn8IjkMlzhg5vceA1o0WjCvEORb0D32XrYaQWS2k6pS0lKo5qoyB62UPotIGoAKZ8Mj qhz+IP5cnLLkx3vzX/R1yP3iyzQgedttjPMlPr60ZTPjuS9oi1rVRDqrYboaqWIvEnxc 1tqw== X-Gm-Message-State: AOJu0YwdEJnjWlRr6+0mJsJYzTlpBJqP4q6vSj2LwkRg324L8Vx8HT31 vOjDOwd4Ki9tvnxGNlqm+jlGcFDBxlB+ehpbUAyZ4AAtYjmcR+Ze92Xur85b0SAPPdiyHVB8jyA 03V8MCOKo X-Gm-Gg: ASbGncsBgZ3slaMNS6X347wVYMCWRhNHHQReEsLifHBkJJMXEomfjultlkSBWurovJA JtWmyq18BMmHuSzBXixt+CLh+vF4hY63c4rcmWyLXiGRa1T/nTbugFHcP9RGIwaId/tYuiziNaw wRoRL7STY6OqGeGsYTA0Jwj5fxa12KOk/goh7ETLlTHGfCzpr26fjrKe2AWcjeF3/u+kBCxYxq8 tHVOiC5cI9TYFzf/kkXkt6MxIBWRRCy2VcIUaKqSuWiKWp78AB0FjjfJ/uo7u4J X-Received: by 2002:a05:6830:6a8d:b0:71e:15f7:1a3a with SMTP id 46e09a7af769-71e3bd180fdmr1828568a34.2.1734116925411; Fri, 13 Dec 2024 11:08:45 -0800 (PST) Received: from stoup.. ([187.217.227.247]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-71e4834da91sm29697a34.18.2024.12.13.11.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 11:08:45 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Greg Kurz , Christian Schoenebeck Subject: [PATCH 12/71] hw/9pfs: Constify all Property Date: Fri, 13 Dec 2024 13:06:46 -0600 Message-ID: <20241213190750.2513964-17-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241213190750.2513964-1-richard.henderson@linaro.org> References: <20241213190750.2513964-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::32e; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x32e.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 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 Reviewed-by: Greg Kurz Reviewed-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 efa41cfd73..b764e4cd3d 100644 --- a/hw/9pfs/virtio-9p-device.c +++ b/hw/9pfs/virtio-9p-device.c @@ -243,7 +243,7 @@ static const VMStateDescription vmstate_virtio_9p = { }, }; -static Property virtio_9p_properties[] = { +static const Property virtio_9p_properties[] = { DEFINE_PROP_STRING("mount_tag", V9fsVirtioState, state.fsconf.tag), DEFINE_PROP_STRING("fsdev", V9fsVirtioState, state.fsconf.fsdev_id), DEFINE_PROP_END_OF_LIST(),