From nobody Mon May 12 03:14:16 2025
Delivered-To: importer@patchew.org
Authentication-Results: mx.zohomail.com;
	dkim=pass;
	spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as
 permitted sender)
  smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org;
	dmarc=pass(p=none dis=none)  header.from=linaro.org
ARC-Seal: i=1; a=rsa-sha256; t=1734290088; cv=none;
	d=zohomail.com; s=zohoarc;
	b=LG8ZSLf9f76I+7fmJUu/X0B1FXH6V+BUNnv/2l8+vxOA/osBQQjYKN4JdTNrSMQzZweNh7P1RvnXxDGMnybCdWK6flqDTlLdE0qnn+epVS84WjmE4jGkJ/NYigRNRuwr2ctSDBJLBBaXJqSG2dgNcfnhvhjCzSjsrLqR6iyYaGk=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc;
	t=1734290088;
 h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To;
	bh=MVM2/8jbJEY92POApQaC6fhWtZO5OT9grm0ZlIhdHM8=;
	b=G2IsgqWRo95SUGYVZiCEB2QNO6WDo0P7Nh+F7/5F/hifDMaxML22KVvYQe9KUli95bBi6Fw5gI7aj7fZIIJqO6D8ElyL0K84mVkj2CheRzKaFySjdUb8H2ltHz7/LdlC6etRdrt3M9FGIpqp2/Em/Rl9vjZ1b8ZZDvYUnBSn+jM=
ARC-Authentication-Results: i=1; mx.zohomail.com;
	dkim=pass;
	spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as
 permitted sender)
  smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org;
	dmarc=pass header.from=<richard.henderson@linaro.org> (p=none dis=none)
Return-Path: <qemu-devel-bounces+importer=patchew.org@nongnu.org>
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by
 mx.zohomail.com
	with SMTPS id 1734290088433939.888548927741;
 Sun, 15 Dec 2024 11:14:48 -0800 (PST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <qemu-devel-bounces@nongnu.org>)
	id 1tMtzw-0002PG-IK; Sun, 15 Dec 2024 14:09:49 -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 <richard.henderson@linaro.org>)
 id 1tMtzp-0001zn-0b
 for qemu-devel@nongnu.org; Sun, 15 Dec 2024 14:09:41 -0500
Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>)
 id 1tMtzk-0001U6-Oq
 for qemu-devel@nongnu.org; Sun, 15 Dec 2024 14:09:39 -0500
Received: by mail-ot1-x329.google.com with SMTP id
 46e09a7af769-71e2bb84fe3so1658344a34.1
 for <qemu-devel@nongnu.org>; Sun, 15 Dec 2024 11:09:36 -0800 (PST)
Received: from localhost.localdomain (fixed-187-189-51-143.totalplay.net.
 [187.189.51.143]) by smtp.gmail.com with ESMTPSA id
 46e09a7af769-71e4836f8c2sm1015316a34.34.2024.12.15.11.09.32
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 15 Dec 2024 11:09:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=linaro.org; s=google; t=1734289775; x=1734894575; 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=MVM2/8jbJEY92POApQaC6fhWtZO5OT9grm0ZlIhdHM8=;
 b=S6jN2X4pnOKY9SfqM7NmdyFehtxeiCmlRco+fAZZ9DaykUo7NnZtWPS5XloO4US7pi
 ZeN51riWnVIMKUrN2CZ6SK1Jy+PLfW6lPFRhO/rq8fXLjo4a20JpF5eF3awKwRk5h9gF
 CvJyMAwhjmU5cugPdAV1UTWOQ7WSW8pmHhhIPDebZpDj1vZRsLV6hDsZMcUMxpRU7fCB
 5kOcOp+ZU/A1Yj+8wJ6i9JHy/+vV3xrhEgasbH77D65njAOaPb/+GY0RB3xQYZh+OAaK
 wxbhvHq8lmn75RFWlmbwC/IRnxWDrvK5ldzbuousWfzaiGgSG0jQHjFQSiSKACLlPExi
 CW6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1734289775; x=1734894575;
 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=MVM2/8jbJEY92POApQaC6fhWtZO5OT9grm0ZlIhdHM8=;
 b=nKYjVw07GlGZRGkjgA/B2gKyQv/bUx1D9V7v/HLiqTNQi2fpMpksFFyQHyenGvXHfQ
 b8ZLomIeryLijdsgmc12AmntdD7qNdDQ10NbuD0AY4n8kVPh+fidb9r3N9k5o43Eif29
 RMKi4hWVBiG2f+RHKbhNSYyqmp/KLPsFazhBj5sYYRsieU2mhsTLCe9JP3T5I2+Jr2iC
 mrjL86Xnwy2HUUjT5KgV4zMDAfEl/uPNpelVHd0GnPQc/pV7KmfkgEMqN2CVZzyE3YMP
 /+NDgjGlT327FnX1+/ByYzkZ2TDANvvl0Yt07QYgGYrwSiPTB2/GxnlbAVSc0Q/c7hit
 gkcg==
X-Gm-Message-State: AOJu0Yzl25/U0U0yRf8HsRk60nh05lwtsb6M6TJx09M8d+hLMY1gw4aO
 Sj7bSHYY8Ei3DRMh0OhiRusiosXgGstPHXGgmroRAbfX1Qe/SLtBMkeweF0K3hjm/JGroxXNpck
 JyqsPrPnV
X-Gm-Gg: ASbGncssP5J02Ws7sHLru1KvmTLfCY1Eo8LoWRpPBMbTOdDC3TZtd9q86kZbwSrlDLj
 jIb7CvcxcCyIQbL0Os/sQBXh+rY1EC28xqTgNDVsP3b7n4GIk3Kfd/gOuSW2PBg6DJyb4XajsaN
 U78hYtV1RMHKLCxe3UfDDTvcdTVPQ3azXwPzGiR5sdogQRC9FKNV9MDtMwDbusOnX0qtE13hyhU
 inJgYdzfGMJVcdcnIco4+VT+7W8F9EKQ2ugG1AUv/HnNoMqkMYUwAGcL85rr9hFzVNQgbyBHPqD
 9mF+lABjtgx9ZgsB9LMuh35l5HSnnTy6UWqhZHuksok=
X-Google-Smtp-Source: 
 AGHT+IGx6tGuFQ5P590Ypl2rDVesb29pMm9resBugI12DNKr2QfqmS/kMCaeuJ9/+bZt52MYk/nz3Q==
X-Received: by 2002:a05:6830:6e09:b0:71d:4086:6072 with SMTP id
 46e09a7af769-71e3b8576c1mr6248035a34.7.1734289773558;
 Sun, 15 Dec 2024 11:09:33 -0800 (PST)
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: stefanha@redhat.com,
 =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= <clg@redhat.com>,
 =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= <philmd@linaro.org>
Subject: [PULL 40/67] hw/net: Constify all Property
Date: Sun, 15 Dec 2024 13:05:06 -0600
Message-ID: <20241215190533.3222854-41-richard.henderson@linaro.org>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20241215190533.3222854-1-richard.henderson@linaro.org>
References: <20241215190533.3222854-1-richard.henderson@linaro.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17
 as permitted sender) client-ip=209.51.188.17;
 envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org;
 helo=lists.gnu.org;
Received-SPF: pass client-ip=2607:f8b0:4864:20::329;
 envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x329.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: <qemu-devel.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>,
 <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel>
List-Post: <mailto:qemu-devel@nongnu.org>
List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>,
 <mailto:qemu-devel-request@nongnu.org?subject=subscribe>
Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org
Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org
X-ZohoMail-DKIM: pass (identity @linaro.org)
X-ZM-MESSAGEID: 1734290090198116600

Reviewed-by: C=C3=A9dric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daud=C3=A9 <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 hw/net/allwinner-sun8i-emac.c  | 2 +-
 hw/net/allwinner_emac.c        | 2 +-
 hw/net/cadence_gem.c           | 2 +-
 hw/net/can/xlnx-versal-canfd.c | 2 +-
 hw/net/can/xlnx-zynqmp-can.c   | 2 +-
 hw/net/dp8393x.c               | 2 +-
 hw/net/e1000.c                 | 2 +-
 hw/net/e1000e.c                | 2 +-
 hw/net/eepro100.c              | 2 +-
 hw/net/fsl_etsec/etsec.c       | 2 +-
 hw/net/ftgmac100.c             | 4 ++--
 hw/net/igb.c                   | 2 +-
 hw/net/imx_fec.c               | 2 +-
 hw/net/lan9118.c               | 2 +-
 hw/net/lance.c                 | 2 +-
 hw/net/lasi_i82596.c           | 2 +-
 hw/net/mcf_fec.c               | 2 +-
 hw/net/mipsnet.c               | 2 +-
 hw/net/msf2-emac.c             | 2 +-
 hw/net/mv88w8618_eth.c         | 2 +-
 hw/net/ne2000-isa.c            | 2 +-
 hw/net/ne2000-pci.c            | 2 +-
 hw/net/npcm7xx_emc.c           | 2 +-
 hw/net/npcm_gmac.c             | 2 +-
 hw/net/opencores_eth.c         | 2 +-
 hw/net/pcnet-pci.c             | 2 +-
 hw/net/rocker/rocker.c         | 2 +-
 hw/net/rtl8139.c               | 2 +-
 hw/net/smc91c111.c             | 2 +-
 hw/net/spapr_llan.c            | 2 +-
 hw/net/stellaris_enet.c        | 2 +-
 hw/net/sungem.c                | 2 +-
 hw/net/sunhme.c                | 2 +-
 hw/net/tulip.c                 | 2 +-
 hw/net/virtio-net.c            | 2 +-
 hw/net/vmxnet3.c               | 2 +-
 hw/net/xen_nic.c               | 2 +-
 hw/net/xgmac.c                 | 2 +-
 hw/net/xilinx_axienet.c        | 2 +-
 hw/net/xilinx_ethlite.c        | 2 +-
 40 files changed, 41 insertions(+), 41 deletions(-)

diff --git a/hw/net/allwinner-sun8i-emac.c b/hw/net/allwinner-sun8i-emac.c
index cdae74f503..3f03060bf5 100644
--- a/hw/net/allwinner-sun8i-emac.c
+++ b/hw/net/allwinner-sun8i-emac.c
@@ -829,7 +829,7 @@ static void allwinner_sun8i_emac_realize(DeviceState *d=
ev, Error **errp)
     qemu_format_nic_info_str(qemu_get_queue(s->nic), s->conf.macaddr.a);
 }
=20
-static Property allwinner_sun8i_emac_properties[] =3D {
+static const Property allwinner_sun8i_emac_properties[] =3D {
     DEFINE_NIC_PROPERTIES(AwSun8iEmacState, conf),
     DEFINE_PROP_UINT8("phy-addr", AwSun8iEmacState, mii_phy_addr, 0),
     DEFINE_PROP_LINK("dma-memory", AwSun8iEmacState, dma_mr,
diff --git a/hw/net/allwinner_emac.c b/hw/net/allwinner_emac.c
index c104c2588e..39c10426cf 100644
--- a/hw/net/allwinner_emac.c
+++ b/hw/net/allwinner_emac.c
@@ -462,7 +462,7 @@ static void aw_emac_realize(DeviceState *dev, Error **e=
rrp)
     fifo8_create(&s->tx_fifo[1], TX_FIFO_SIZE);
 }
=20
-static Property aw_emac_properties[] =3D {
+static const Property aw_emac_properties[] =3D {
     DEFINE_NIC_PROPERTIES(AwEmacState, conf),
     DEFINE_PROP_UINT8("phy-addr", AwEmacState, phy_addr, 0),
     DEFINE_PROP_END_OF_LIST(),
diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c
index 526739887c..3fce01315f 100644
--- a/hw/net/cadence_gem.c
+++ b/hw/net/cadence_gem.c
@@ -1784,7 +1784,7 @@ static const VMStateDescription vmstate_cadence_gem =
=3D {
     }
 };
=20
-static Property gem_properties[] =3D {
+static const Property gem_properties[] =3D {
     DEFINE_NIC_PROPERTIES(CadenceGEMState, conf),
     DEFINE_PROP_UINT32("revision", CadenceGEMState, revision,
                        GEM_MODID_VALUE),
diff --git a/hw/net/can/xlnx-versal-canfd.c b/hw/net/can/xlnx-versal-canfd.c
index e148bd7b46..97fa46c4b3 100644
--- a/hw/net/can/xlnx-versal-canfd.c
+++ b/hw/net/can/xlnx-versal-canfd.c
@@ -2042,7 +2042,7 @@ static const VMStateDescription vmstate_canfd =3D {
     }
 };
=20
-static Property canfd_core_properties[] =3D {
+static const Property canfd_core_properties[] =3D {
     DEFINE_PROP_UINT8("rx-fifo0", XlnxVersalCANFDState, cfg.rx0_fifo, 0x40=
),
     DEFINE_PROP_UINT8("rx-fifo1", XlnxVersalCANFDState, cfg.rx1_fifo, 0x40=
),
     DEFINE_PROP_UINT8("tx-fifo", XlnxVersalCANFDState, cfg.tx_fifo, 0x20),
diff --git a/hw/net/can/xlnx-zynqmp-can.c b/hw/net/can/xlnx-zynqmp-can.c
index 58f1432bb3..61c104c18b 100644
--- a/hw/net/can/xlnx-zynqmp-can.c
+++ b/hw/net/can/xlnx-zynqmp-can.c
@@ -1169,7 +1169,7 @@ static const VMStateDescription vmstate_can =3D {
     }
 };
=20
-static Property xlnx_zynqmp_can_properties[] =3D {
+static const Property xlnx_zynqmp_can_properties[] =3D {
     DEFINE_PROP_UINT32("ext_clk_freq", XlnxZynqMPCANState, cfg.ext_clk_fre=
q,
                        CAN_DEFAULT_CLOCK),
     DEFINE_PROP_LINK("canbus", XlnxZynqMPCANState, canbus, TYPE_CAN_BUS,
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c
index c0977308ba..e3ca11991b 100644
--- a/hw/net/dp8393x.c
+++ b/hw/net/dp8393x.c
@@ -931,7 +931,7 @@ static const VMStateDescription vmstate_dp8393x =3D {
     }
 };
=20
-static Property dp8393x_properties[] =3D {
+static const Property dp8393x_properties[] =3D {
     DEFINE_NIC_PROPERTIES(dp8393xState, conf),
     DEFINE_PROP_LINK("dma_mr", dp8393xState, dma_mr,
                      TYPE_MEMORY_REGION, MemoryRegion *),
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
index ab72236d18..ef0af31751 100644
--- a/hw/net/e1000.c
+++ b/hw/net/e1000.c
@@ -1677,7 +1677,7 @@ static void pci_e1000_realize(PCIDevice *pci_dev, Err=
or **errp)
                                         e1000_flush_queue_timer, d);
 }
=20
-static Property e1000_properties[] =3D {
+static const Property e1000_properties[] =3D {
     DEFINE_NIC_PROPERTIES(E1000State, conf),
     DEFINE_PROP_BIT("extra_mac_registers", E1000State,
                     compat_flags, E1000_FLAG_MAC_BIT, true),
diff --git a/hw/net/e1000e.c b/hw/net/e1000e.c
index 843892ce09..e2b7576f67 100644
--- a/hw/net/e1000e.c
+++ b/hw/net/e1000e.c
@@ -661,7 +661,7 @@ static PropertyInfo e1000e_prop_disable_vnet,
                     e1000e_prop_subsys_ven,
                     e1000e_prop_subsys;
=20
-static Property e1000e_properties[] =3D {
+static const Property e1000e_properties[] =3D {
     DEFINE_NIC_PROPERTIES(E1000EState, conf),
     DEFINE_PROP_SIGNED("disable_vnet_hdr", E1000EState, disable_vnet, fals=
e,
                         e1000e_prop_disable_vnet, bool),
diff --git a/hw/net/eepro100.c b/hw/net/eepro100.c
index 20b22d8e49..b8cb8d5cf1 100644
--- a/hw/net/eepro100.c
+++ b/hw/net/eepro100.c
@@ -2058,7 +2058,7 @@ static E100PCIDeviceInfo *eepro100_get_class(EEPRO100=
State *s)
     return eepro100_get_class_by_name(object_get_typename(OBJECT(s)));
 }
=20
-static Property e100_properties[] =3D {
+static const Property e100_properties[] =3D {
     DEFINE_NIC_PROPERTIES(EEPRO100State, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/fsl_etsec/etsec.c b/hw/net/fsl_etsec/etsec.c
index d8076e7be4..764be2c6a2 100644
--- a/hw/net/fsl_etsec/etsec.c
+++ b/hw/net/fsl_etsec/etsec.c
@@ -414,7 +414,7 @@ static void etsec_instance_init(Object *obj)
     sysbus_init_irq(sbd, &etsec->err_irq);
 }
=20
-static Property etsec_properties[] =3D {
+static const Property etsec_properties[] =3D {
     DEFINE_NIC_PROPERTIES(eTSEC, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/ftgmac100.c b/hw/net/ftgmac100.c
index 478356ee3e..4adc7fb10c 100644
--- a/hw/net/ftgmac100.c
+++ b/hw/net/ftgmac100.c
@@ -1254,7 +1254,7 @@ static const VMStateDescription vmstate_ftgmac100 =3D=
 {
     }
 };
=20
-static Property ftgmac100_properties[] =3D {
+static const Property ftgmac100_properties[] =3D {
     DEFINE_PROP_BOOL("aspeed", FTGMAC100State, aspeed, false),
     DEFINE_NIC_PROPERTIES(FTGMAC100State, conf),
     DEFINE_PROP_BOOL("dma64", FTGMAC100State, dma64, false),
@@ -1415,7 +1415,7 @@ static const VMStateDescription vmstate_aspeed_mii =
=3D {
     }
 };
=20
-static Property aspeed_mii_properties[] =3D {
+static const Property aspeed_mii_properties[] =3D {
     DEFINE_PROP_LINK("nic", AspeedMiiState, nic, TYPE_FTGMAC100,
                      FTGMAC100State *),
     DEFINE_PROP_END_OF_LIST(),
diff --git a/hw/net/igb.c b/hw/net/igb.c
index b92bba402e..ad0f748d82 100644
--- a/hw/net/igb.c
+++ b/hw/net/igb.c
@@ -591,7 +591,7 @@ static const VMStateDescription igb_vmstate =3D {
     }
 };
=20
-static Property igb_properties[] =3D {
+static const Property igb_properties[] =3D {
     DEFINE_NIC_PROPERTIES(IGBState, conf),
     DEFINE_PROP_BOOL("x-pcie-flr-init", IGBState, has_flr, true),
     DEFINE_PROP_END_OF_LIST(),
diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c
index 4ee6f74206..9b64968477 100644
--- a/hw/net/imx_fec.c
+++ b/hw/net/imx_fec.c
@@ -1222,7 +1222,7 @@ static void imx_eth_realize(DeviceState *dev, Error *=
*errp)
     qemu_format_nic_info_str(qemu_get_queue(s->nic), s->conf.macaddr.a);
 }
=20
-static Property imx_eth_properties[] =3D {
+static const Property imx_eth_properties[] =3D {
     DEFINE_NIC_PROPERTIES(IMXFECState, conf),
     DEFINE_PROP_UINT32("tx-ring-num", IMXFECState, tx_ring_num, 1),
     DEFINE_PROP_UINT32("phy-num", IMXFECState, phy_num, 0),
diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c
index 99e87b7178..237e9b97d5 100644
--- a/hw/net/lan9118.c
+++ b/hw/net/lan9118.c
@@ -1304,7 +1304,7 @@ static void lan9118_realize(DeviceState *dev, Error *=
*errp)
     ptimer_transaction_commit(s->timer);
 }
=20
-static Property lan9118_properties[] =3D {
+static const Property lan9118_properties[] =3D {
     DEFINE_NIC_PROPERTIES(lan9118_state, conf),
     DEFINE_PROP_UINT32("mode_16bit", lan9118_state, mode_16bit, 0),
     DEFINE_PROP_END_OF_LIST(),
diff --git a/hw/net/lance.c b/hw/net/lance.c
index 269615b452..9ed9c94cff 100644
--- a/hw/net/lance.c
+++ b/hw/net/lance.c
@@ -137,7 +137,7 @@ static void lance_instance_init(Object *obj)
                                   DEVICE(obj));
 }
=20
-static Property lance_properties[] =3D {
+static const Property lance_properties[] =3D {
     DEFINE_PROP_LINK("dma", SysBusPCNetState, state.dma_opaque,
                      TYPE_DEVICE, DeviceState *),
     DEFINE_NIC_PROPERTIES(SysBusPCNetState, state.conf),
diff --git a/hw/net/lasi_i82596.c b/hw/net/lasi_i82596.c
index 183fab8712..248e3841db 100644
--- a/hw/net/lasi_i82596.c
+++ b/hw/net/lasi_i82596.c
@@ -158,7 +158,7 @@ static void lasi_82596_instance_init(Object *obj)
                                   DEVICE(obj));
 }
=20
-static Property lasi_82596_properties[] =3D {
+static const Property lasi_82596_properties[] =3D {
     DEFINE_NIC_PROPERTIES(SysBusI82596State, state.conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/mcf_fec.c b/hw/net/mcf_fec.c
index 037cd2028e..55bad4c069 100644
--- a/hw/net/mcf_fec.c
+++ b/hw/net/mcf_fec.c
@@ -660,7 +660,7 @@ static void mcf_fec_instance_init(Object *obj)
     }
 }
=20
-static Property mcf_fec_properties[] =3D {
+static const Property mcf_fec_properties[] =3D {
     DEFINE_NIC_PROPERTIES(mcf_fec_state, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/mipsnet.c b/hw/net/mipsnet.c
index 31bbd6fb89..c9ef1beb7b 100644
--- a/hw/net/mipsnet.c
+++ b/hw/net/mipsnet.c
@@ -266,7 +266,7 @@ static void mipsnet_sysbus_reset(DeviceState *dev)
     mipsnet_reset(s);
 }
=20
-static Property mipsnet_properties[] =3D {
+static const Property mipsnet_properties[] =3D {
     DEFINE_NIC_PROPERTIES(MIPSnetState, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/msf2-emac.c b/hw/net/msf2-emac.c
index d28fc6c570..8d9015f962 100644
--- a/hw/net/msf2-emac.c
+++ b/hw/net/msf2-emac.c
@@ -546,7 +546,7 @@ static void msf2_emac_init(Object *obj)
     sysbus_init_mmio(SYS_BUS_DEVICE(obj), &s->mmio);
 }
=20
-static Property msf2_emac_properties[] =3D {
+static const Property msf2_emac_properties[] =3D {
     DEFINE_PROP_LINK("ahb-bus", MSF2EmacState, dma_mr,
                      TYPE_MEMORY_REGION, MemoryRegion *),
     DEFINE_NIC_PROPERTIES(MSF2EmacState, conf),
diff --git a/hw/net/mv88w8618_eth.c b/hw/net/mv88w8618_eth.c
index 96c65f4d46..ccb11512db 100644
--- a/hw/net/mv88w8618_eth.c
+++ b/hw/net/mv88w8618_eth.c
@@ -371,7 +371,7 @@ static const VMStateDescription mv88w8618_eth_vmsd =3D {
     }
 };
=20
-static Property mv88w8618_eth_properties[] =3D {
+static const Property mv88w8618_eth_properties[] =3D {
     DEFINE_NIC_PROPERTIES(mv88w8618_eth_state, conf),
     DEFINE_PROP_LINK("dma-memory", mv88w8618_eth_state, dma_mr,
                      TYPE_MEMORY_REGION, MemoryRegion *),
diff --git a/hw/net/ne2000-isa.c b/hw/net/ne2000-isa.c
index 26980e087e..1cd070d419 100644
--- a/hw/net/ne2000-isa.c
+++ b/hw/net/ne2000-isa.c
@@ -79,7 +79,7 @@ static void isa_ne2000_realizefn(DeviceState *dev, Error =
**errp)
     qemu_format_nic_info_str(qemu_get_queue(s->nic), s->c.macaddr.a);
 }
=20
-static Property ne2000_isa_properties[] =3D {
+static const Property ne2000_isa_properties[] =3D {
     DEFINE_PROP_UINT32("iobase", ISANE2000State, iobase, 0x300),
     DEFINE_PROP_UINT32("irq",   ISANE2000State, isairq, 9),
     DEFINE_NIC_PROPERTIES(ISANE2000State, ne2000.c),
diff --git a/hw/net/ne2000-pci.c b/hw/net/ne2000-pci.c
index 74773069c6..12fa579d22 100644
--- a/hw/net/ne2000-pci.c
+++ b/hw/net/ne2000-pci.c
@@ -96,7 +96,7 @@ static void ne2000_instance_init(Object *obj)
                                   &pci_dev->qdev);
 }
=20
-static Property ne2000_properties[] =3D {
+static const Property ne2000_properties[] =3D {
     DEFINE_NIC_PROPERTIES(PCINE2000State, ne2000.c),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/npcm7xx_emc.c b/hw/net/npcm7xx_emc.c
index 7307a13400..f06e908d04 100644
--- a/hw/net/npcm7xx_emc.c
+++ b/hw/net/npcm7xx_emc.c
@@ -845,7 +845,7 @@ static const VMStateDescription vmstate_npcm7xx_emc =3D=
 {
     },
 };
=20
-static Property npcm7xx_emc_properties[] =3D {
+static const Property npcm7xx_emc_properties[] =3D {
     DEFINE_NIC_PROPERTIES(NPCM7xxEMCState, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/npcm_gmac.c b/hw/net/npcm_gmac.c
index 685905f9e2..1db29307d7 100644
--- a/hw/net/npcm_gmac.c
+++ b/hw/net/npcm_gmac.c
@@ -912,7 +912,7 @@ static const VMStateDescription vmstate_npcm_gmac =3D {
     },
 };
=20
-static Property npcm_gmac_properties[] =3D {
+static const Property npcm_gmac_properties[] =3D {
     DEFINE_NIC_PROPERTIES(NPCMGMACState, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/opencores_eth.c b/hw/net/opencores_eth.c
index 2c0ebda100..003b452bc9 100644
--- a/hw/net/opencores_eth.c
+++ b/hw/net/opencores_eth.c
@@ -743,7 +743,7 @@ static void qdev_open_eth_reset(DeviceState *dev)
     open_eth_reset(d);
 }
=20
-static Property open_eth_properties[] =3D {
+static const Property open_eth_properties[] =3D {
     DEFINE_NIC_PROPERTIES(OpenEthState, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/pcnet-pci.c b/hw/net/pcnet-pci.c
index 6190b76916..83ba8cd949 100644
--- a/hw/net/pcnet-pci.c
+++ b/hw/net/pcnet-pci.c
@@ -252,7 +252,7 @@ static void pcnet_instance_init(Object *obj)
                                   DEVICE(obj));
 }
=20
-static Property pcnet_properties[] =3D {
+static const Property pcnet_properties[] =3D {
     DEFINE_NIC_PROPERTIES(PCIPCNetState, state.conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/rocker/rocker.c b/hw/net/rocker/rocker.c
index 5e74acc969..efc20396aa 100644
--- a/hw/net/rocker/rocker.c
+++ b/hw/net/rocker/rocker.c
@@ -1459,7 +1459,7 @@ static void rocker_reset(DeviceState *dev)
     DPRINTF("Reset done\n");
 }
=20
-static Property rocker_properties[] =3D {
+static const Property rocker_properties[] =3D {
     DEFINE_PROP_STRING("name", Rocker, name),
     DEFINE_PROP_STRING("world", Rocker, world_name),
     DEFINE_PROP_MACADDR("fp_start_macaddr", Rocker,
diff --git a/hw/net/rtl8139.c b/hw/net/rtl8139.c
index bc56075c0d..064a73b6b4 100644
--- a/hw/net/rtl8139.c
+++ b/hw/net/rtl8139.c
@@ -3410,7 +3410,7 @@ static void rtl8139_instance_init(Object *obj)
                                   DEVICE(obj));
 }
=20
-static Property rtl8139_properties[] =3D {
+static const Property rtl8139_properties[] =3D {
     DEFINE_NIC_PROPERTIES(RTL8139State, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/smc91c111.c b/hw/net/smc91c111.c
index 180ba5c791..a853c30fa2 100644
--- a/hw/net/smc91c111.c
+++ b/hw/net/smc91c111.c
@@ -788,7 +788,7 @@ static void smc91c111_realize(DeviceState *dev, Error *=
*errp)
     /* ??? Save/restore.  */
 }
=20
-static Property smc91c111_properties[] =3D {
+static const Property smc91c111_properties[] =3D {
     DEFINE_NIC_PROPERTIES(smc91c111_state, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/spapr_llan.c b/hw/net/spapr_llan.c
index 8af33d91b6..d381c041db 100644
--- a/hw/net/spapr_llan.c
+++ b/hw/net/spapr_llan.c
@@ -786,7 +786,7 @@ static target_ulong h_change_logical_lan_mac(PowerPCCPU=
 *cpu,
     return H_SUCCESS;
 }
=20
-static Property spapr_vlan_properties[] =3D {
+static const Property spapr_vlan_properties[] =3D {
     DEFINE_SPAPR_PROPERTIES(SpaprVioVlan, sdev),
     DEFINE_NIC_PROPERTIES(SpaprVioVlan, nicconf),
     DEFINE_PROP_BIT("use-rx-buffer-pools", SpaprVioVlan,
diff --git a/hw/net/stellaris_enet.c b/hw/net/stellaris_enet.c
index 9ebff296c4..4af1afa733 100644
--- a/hw/net/stellaris_enet.c
+++ b/hw/net/stellaris_enet.c
@@ -497,7 +497,7 @@ static void stellaris_enet_realize(DeviceState *dev, Er=
ror **errp)
     qemu_format_nic_info_str(qemu_get_queue(s->nic), s->conf.macaddr.a);
 }
=20
-static Property stellaris_enet_properties[] =3D {
+static const Property stellaris_enet_properties[] =3D {
     DEFINE_NIC_PROPERTIES(stellaris_enet_state, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/sungem.c b/hw/net/sungem.c
index 67087e9842..bcc7a18382 100644
--- a/hw/net/sungem.c
+++ b/hw/net/sungem.c
@@ -1420,7 +1420,7 @@ static void sungem_instance_init(Object *obj)
                                   DEVICE(obj));
 }
=20
-static Property sungem_properties[] =3D {
+static const Property sungem_properties[] =3D {
     DEFINE_NIC_PROPERTIES(SunGEMState, conf),
     /* Phy address should be 0 for most Apple machines except
      * for K2 in which case it's 1. Will be set by a machine
diff --git a/hw/net/sunhme.c b/hw/net/sunhme.c
index 0e6c655a5b..86f472fcbe 100644
--- a/hw/net/sunhme.c
+++ b/hw/net/sunhme.c
@@ -177,7 +177,7 @@ struct SunHMEState {
     uint16_t miiregs[HME_MII_REGS_SIZE];
 };
=20
-static Property sunhme_properties[] =3D {
+static const Property sunhme_properties[] =3D {
     DEFINE_NIC_PROPERTIES(SunHMEState, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/tulip.c b/hw/net/tulip.c
index 9df3e17162..f35b58a88c 100644
--- a/hw/net/tulip.c
+++ b/hw/net/tulip.c
@@ -1007,7 +1007,7 @@ static void tulip_instance_init(Object *obj)
                                   &pci_dev->qdev);
 }
=20
-static Property tulip_properties[] =3D {
+static const Property tulip_properties[] =3D {
     DEFINE_NIC_PROPERTIES(TULIPState, c),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index 6e8c51a2db..4fd1f9acca 100644
--- a/hw/net/virtio-net.c
+++ b/hw/net/virtio-net.c
@@ -3985,7 +3985,7 @@ static const VMStateDescription vmstate_virtio_net =
=3D {
     .dev_unplug_pending =3D dev_unplug_pending,
 };
=20
-static Property virtio_net_properties[] =3D {
+static const Property virtio_net_properties[] =3D {
     DEFINE_PROP_BIT64("csum", VirtIONet, host_features,
                     VIRTIO_NET_F_CSUM, true),
     DEFINE_PROP_BIT64("guest_csum", VirtIONet, host_features,
diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c
index 8aa8c46228..f69547cad5 100644
--- a/hw/net/vmxnet3.c
+++ b/hw/net/vmxnet3.c
@@ -2471,7 +2471,7 @@ static const VMStateDescription vmstate_vmxnet3 =3D {
     }
 };
=20
-static Property vmxnet3_properties[] =3D {
+static const Property vmxnet3_properties[] =3D {
     DEFINE_NIC_PROPERTIES(VMXNET3State, conf),
     DEFINE_PROP_BIT("x-old-msi-offsets", VMXNET3State, compat_flags,
                     VMXNET3_COMPAT_FLAG_OLD_MSI_OFFSETS_BIT, false),
diff --git a/hw/net/xen_nic.c b/hw/net/xen_nic.c
index 89487b49ba..5a5259150a 100644
--- a/hw/net/xen_nic.c
+++ b/hw/net/xen_nic.c
@@ -555,7 +555,7 @@ static void xen_netdev_unrealize(XenDevice *xendev)
=20
 /* ------------------------------------------------------------- */
=20
-static Property xen_netdev_properties[] =3D {
+static const Property xen_netdev_properties[] =3D {
     DEFINE_NIC_PROPERTIES(XenNetDev, conf),
     DEFINE_PROP_INT32("idx", XenNetDev, dev, -1),
     DEFINE_PROP_END_OF_LIST(),
diff --git a/hw/net/xgmac.c b/hw/net/xgmac.c
index ffe3fc8dbe..6e0f96f485 100644
--- a/hw/net/xgmac.c
+++ b/hw/net/xgmac.c
@@ -414,7 +414,7 @@ static void xgmac_enet_realize(DeviceState *dev, Error =
**errp)
                                   s->conf.macaddr.a[0];
 }
=20
-static Property xgmac_properties[] =3D {
+static const Property xgmac_properties[] =3D {
     DEFINE_NIC_PROPERTIES(XgmacState, conf),
     DEFINE_PROP_END_OF_LIST(),
 };
diff --git a/hw/net/xilinx_axienet.c b/hw/net/xilinx_axienet.c
index faf27947b0..9d0c618e2f 100644
--- a/hw/net/xilinx_axienet.c
+++ b/hw/net/xilinx_axienet.c
@@ -996,7 +996,7 @@ static void xilinx_enet_init(Object *obj)
     sysbus_init_mmio(sbd, &s->iomem);
 }
=20
-static Property xilinx_enet_properties[] =3D {
+static const Property xilinx_enet_properties[] =3D {
     DEFINE_PROP_UINT32("phyaddr", XilinxAXIEnet, c_phyaddr, 7),
     DEFINE_PROP_UINT32("rxmem", XilinxAXIEnet, c_rxmem, 0x1000),
     DEFINE_PROP_UINT32("txmem", XilinxAXIEnet, c_txmem, 0x1000),
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c
index bd81290808..9413731d20 100644
--- a/hw/net/xilinx_ethlite.c
+++ b/hw/net/xilinx_ethlite.c
@@ -251,7 +251,7 @@ static void xilinx_ethlite_init(Object *obj)
     sysbus_init_mmio(SYS_BUS_DEVICE(obj), &s->mmio);
 }
=20
-static Property xilinx_ethlite_properties[] =3D {
+static const Property xilinx_ethlite_properties[] =3D {
     DEFINE_PROP_UINT32("tx-ping-pong", struct xlx_ethlite, c_tx_pingpong, =
1),
     DEFINE_PROP_UINT32("rx-ping-pong", struct xlx_ethlite, c_rx_pingpong, =
1),
     DEFINE_NIC_PROPERTIES(struct xlx_ethlite, conf),
--=20
2.43.0