From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 2002:a17:505:57c2:b0:1be9:327d:8ee3 with SMTP id yd2csp1005291njb; Sat, 14 Dec 2024 02:03:45 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXPPH1WuJcGU5A7AD+FkNMOAnq6e+sPZmA1vkZu3vk817VYOrzjIUToVHyPuldVwjrglRisyiw7L/3IOg==@linaro.org X-Google-Smtp-Source: AGHT+IHZesj/RLhWiJy6gM7blv02UDNRtUDkvAPt8sUxnZS2K6Kj0KAknqKIu0I/MPdz4eOX/1aS X-Received: by 2002:a05:620a:4594:b0:7b6:6701:7a4d with SMTP id af79cd13be357-7b6fbf42a85mr927961885a.56.1734170624840; Sat, 14 Dec 2024 02:03:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734170624; cv=none; d=google.com; s=arc-20240605; b=K9C7asfl6hD7oS+qV2AOmf1NpPlnEOgqtUxtXQQsjMPS+e8kCx3Ghi+Mz7NGLyXjvw FZ7oSeVDke6ZcSgNNgm8H4fENkL2d3f6w5qCLwvkBYaOVP0/uQvK/CxihjGDDeJf/c4L 7eEoQUTEi8BEPHomBP3qUOJwg3VTk4EVVA63Ox6869kIh8F2OhIzrAEK4ep3dRnBUKoQ pWB/y/zRZ/LQoOMQ5+vnymG2z3RHcZIgo3Lh6mV1YLgpOZxAc1Oc2RZ+AoVOzym42xyH 9NVDhrZWnS7KFCaEJqfLL8NQdegQjmHtOQWBO0gI7dLymCt1i2aSy5Gorc4gU4dHYmFG MRTw== 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 :in-reply-to:autocrypt:from:content-language:references:cc:to :subject:user-agent:mime-version:date:message-id; bh=AK0WT8tcXOyXeH25c1BYak7YJuP2aHBHnP63RZGSYkA=; fh=JYEKTr4Uhn+NCWc23eCmTDdmwlBVFR2PL/Kvyw0flPs=; b=P+ejX84/x/dtCGbHiRTdEUo0uYdblckpg5DMH0dQ3qhj85s6sJryRILWlmmiJtUWF9 VypB5U04ePyHK/3Kayfe4dMDBUAdQrvSEl93ZlSI9lvWyrBXK90D1kz8Y1pAK8KZcQ1K Dn/QisarD0mkRgGwebAs2Zra8wIF83uXLQ9n3p5taPDUlAhmJL6vOi9ryKkgqb7EfD/r 0ecW88RQlY6L5673FTpIWbtkj67QvD6/5MPmNmklXlzDDFRO2RaDYKrytO8b15iheZm3 /nQcHvPVOMPTKbQZypkv9azYxnYcKvYzmjkc1nT8mmyir9N/FhGQaTcVtIqUs0cCRfet zD0Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b7048c0157si190575985a.232.2024.12.14.02.03.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Dec 2024 02:03:44 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMOzk-0000Be-Hw; Sat, 14 Dec 2024 05:03:32 -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 1tMOzi-0000BI-Sp; Sat, 14 Dec 2024 05:03:30 -0500 Received: from mail.ozlabs.org ([2404:9400:2221:ea00::3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMOzg-0007Og-68; Sat, 14 Dec 2024 05:03:30 -0500 Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4Y9MGb11sJz4wvd; Sat, 14 Dec 2024 21:03:19 +1100 (AEDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Y9MGM29XHz4w2R; Sat, 14 Dec 2024 21:03:07 +1100 (AEDT) Message-ID: Date: Sat, 14 Dec 2024 11:03:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 15/71] hw/arm: Constify all Property To: Richard Henderson , qemu-devel@nongnu.org Cc: Peter Maydell , Steven Lee , Troy Lee , Jamin Lin , Andrew Jeffery , Joel Stanley , =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , Jean-Christophe Dubois , Andrey Smirnov , Subbaraya Sundeep , Tyrone Ting , Hao Wu , Eric Auger , Alistair Francis , "Edgar E. Iglesias" , "open list:MPS2 / MPS3" References: <20241213190750.2513964-1-richard.henderson@linaro.org> <20241213190750.2513964-20-richard.henderson@linaro.org> Content-Language: en-US, fr From: =?UTF-8?Q?C=C3=A9dric_Le_Goater?= Autocrypt: addr=clg@kaod.org; keydata= xsFNBFu8o3UBEADP+oJVJaWm5vzZa/iLgpBAuzxSmNYhURZH+guITvSySk30YWfLYGBWQgeo 8NzNXBY3cH7JX3/a0jzmhDc0U61qFxVgrPqs1PQOjp7yRSFuDAnjtRqNvWk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fo6wHhEqgjbXQGlaxKHoX ywEQBi8eULbeMQf5l4+tHJWBxswQ93IHBQjKyKyNr4FXseUI5O20XVNYDJZUrhA4yn0e/Af0 IX25d94HXQ5sMTWr1qlSK6Zu79lbH3R57w9jhQm9emQEp785ui3A5U2Lqp6nWYWXz0eUZ0Ta d2zC71Gg9VazU9MXyWn749s0nXbVLcLS0yops302Gf3ZmtgfXTX/W+M25hiVRRKCH88yr6it +OMJBUndQVAA/fE9hYom6t/zqA248j0QAV/pLHH3hSirE1mv+7jpQnhMvatrwUpeXrOiEw1n HzWCqOJUZ4SY+HmGFW0YirWV2mYKoaGO2YBUwYF7O9TI3GEEgRMBIRT98fHa0NPwtlTktVIS l73LpgVscdW8yg9Gc82oe8FzU1uHjU8b10lUXOMHpqDDEV9//r4ZhkKZ9C4O+YZcTFu+mvAY 3GlqivBNkmYsHYSlFsbxc37E1HpTEaSWsGfAHQoPn9qrDJgsgcbBVc1gkUT6hnxShKPp4Pls ZVMNjvPAnr5TEBgHkk54HQRhhwcYv1T2QumQizDiU6iOrUzBThaMhZO3i927SG2DwWDVzZlt KrCMD1aMPvb3NU8FOYRhNmIFR3fcalYr+9gDuVKe8BVz4atMOoktmt0GWTOC8P4= In-Reply-To: <20241213190750.2513964-20-richard.henderson@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2404:9400:2221:ea00::3; envelope-from=SRS0=YvF0=TH=kaod.org=clg@ozlabs.org; helo=mail.ozlabs.org X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@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-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: K1yBnpy/DE9y On 12/13/24 20:06, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > hw/arm/armsse.c | 8 ++++---- > hw/arm/armv7m.c | 4 ++-- > hw/arm/aspeed_soc_common.c | 2 +- > hw/arm/bcm2836.c | 2 +- > hw/arm/fsl-imx25.c | 2 +- > hw/arm/fsl-imx6.c | 2 +- > hw/arm/fsl-imx6ul.c | 2 +- > hw/arm/fsl-imx7.c | 2 +- > hw/arm/integratorcp.c | 2 +- > hw/arm/msf2-soc.c | 2 +- > hw/arm/npcm7xx.c | 2 +- > hw/arm/nrf51_soc.c | 2 +- > hw/arm/smmu-common.c | 2 +- > hw/arm/smmuv3.c | 2 +- > hw/arm/stellaris.c | 2 +- > hw/arm/strongarm.c | 2 +- > hw/arm/xlnx-versal.c | 2 +- > hw/arm/xlnx-zynqmp.c | 2 +- > 18 files changed, 22 insertions(+), 22 deletions(-) For the aspeed part, Reviewed-by: Cédric Le Goater Thanks, C. > > diff --git a/hw/arm/armsse.c b/hw/arm/armsse.c > index 58ed504b2b..1cd6b4a4b2 100644 > --- a/hw/arm/armsse.c > +++ b/hw/arm/armsse.c > @@ -72,12 +72,12 @@ struct ARMSSEInfo { > bool has_cpu_pwrctrl; > bool has_sse_counter; > bool has_tcms; > - Property *props; > + const Property *props; > const ARMSSEDeviceInfo *devinfo; > const bool *irq_is_common; > }; > > -static Property iotkit_properties[] = { > +static const Property iotkit_properties[] = { > DEFINE_PROP_LINK("memory", ARMSSE, board_memory, TYPE_MEMORY_REGION, > MemoryRegion *), > DEFINE_PROP_UINT32("EXP_NUMIRQ", ARMSSE, exp_numirq, 64), > @@ -90,7 +90,7 @@ static Property iotkit_properties[] = { > DEFINE_PROP_END_OF_LIST() > }; > > -static Property sse200_properties[] = { > +static const Property sse200_properties[] = { > DEFINE_PROP_LINK("memory", ARMSSE, board_memory, TYPE_MEMORY_REGION, > MemoryRegion *), > DEFINE_PROP_UINT32("EXP_NUMIRQ", ARMSSE, exp_numirq, 64), > @@ -107,7 +107,7 @@ static Property sse200_properties[] = { > DEFINE_PROP_END_OF_LIST() > }; > > -static Property sse300_properties[] = { > +static const Property sse300_properties[] = { > DEFINE_PROP_LINK("memory", ARMSSE, board_memory, TYPE_MEMORY_REGION, > MemoryRegion *), > DEFINE_PROP_UINT32("EXP_NUMIRQ", ARMSSE, exp_numirq, 64), > diff --git a/hw/arm/armv7m.c b/hw/arm/armv7m.c > index 7c68525a9e..e20f719c9b 100644 > --- a/hw/arm/armv7m.c > +++ b/hw/arm/armv7m.c > @@ -538,7 +538,7 @@ static void armv7m_realize(DeviceState *dev, Error **errp) > } > } > > -static Property armv7m_properties[] = { > +static const Property armv7m_properties[] = { > DEFINE_PROP_STRING("cpu-type", ARMv7MState, cpu_type), > DEFINE_PROP_LINK("memory", ARMv7MState, board_memory, TYPE_MEMORY_REGION, > MemoryRegion *), > @@ -631,7 +631,7 @@ void armv7m_load_kernel(ARMCPU *cpu, const char *kernel_filename, > qemu_register_reset(armv7m_reset, cpu); > } > > -static Property bitband_properties[] = { > +static const Property bitband_properties[] = { > DEFINE_PROP_UINT32("base", BitBandState, base, 0), > DEFINE_PROP_LINK("source-memory", BitBandState, source_memory, > TYPE_MEMORY_REGION, MemoryRegion *), > diff --git a/hw/arm/aspeed_soc_common.c b/hw/arm/aspeed_soc_common.c > index a5ff33c46d..4221cacd51 100644 > --- a/hw/arm/aspeed_soc_common.c > +++ b/hw/arm/aspeed_soc_common.c > @@ -139,7 +139,7 @@ static bool aspeed_soc_boot_from_emmc(AspeedSoCState *s) > return false; > } > > -static Property aspeed_soc_properties[] = { > +static const Property aspeed_soc_properties[] = { > DEFINE_PROP_LINK("dram", AspeedSoCState, dram_mr, TYPE_MEMORY_REGION, > MemoryRegion *), > DEFINE_PROP_LINK("memory", AspeedSoCState, memory, TYPE_MEMORY_REGION, > diff --git a/hw/arm/bcm2836.c b/hw/arm/bcm2836.c > index 40a379bc36..95e16806fa 100644 > --- a/hw/arm/bcm2836.c > +++ b/hw/arm/bcm2836.c > @@ -18,7 +18,7 @@ > #include "target/arm/cpu-qom.h" > #include "target/arm/gtimer.h" > > -static Property bcm2836_enabled_cores_property = > +static const Property bcm2836_enabled_cores_property = > DEFINE_PROP_UINT32("enabled-cpus", BCM283XBaseState, enabled_cpus, 0); > > static void bcm283x_base_init(Object *obj) > diff --git a/hw/arm/fsl-imx25.c b/hw/arm/fsl-imx25.c > index 5ed87edfe4..48763b03fe 100644 > --- a/hw/arm/fsl-imx25.c > +++ b/hw/arm/fsl-imx25.c > @@ -309,7 +309,7 @@ static void fsl_imx25_realize(DeviceState *dev, Error **errp) > &s->iram_alias); > } > > -static Property fsl_imx25_properties[] = { > +static const Property fsl_imx25_properties[] = { > DEFINE_PROP_UINT32("fec-phy-num", FslIMX25State, phy_num, 0), > DEFINE_PROP_END_OF_LIST(), > }; > diff --git a/hw/arm/fsl-imx6.c b/hw/arm/fsl-imx6.c > index 85748cb233..236d15bc9c 100644 > --- a/hw/arm/fsl-imx6.c > +++ b/hw/arm/fsl-imx6.c > @@ -481,7 +481,7 @@ static void fsl_imx6_realize(DeviceState *dev, Error **errp) > &s->ocram_alias); > } > > -static Property fsl_imx6_properties[] = { > +static const Property fsl_imx6_properties[] = { > DEFINE_PROP_UINT32("fec-phy-num", FslIMX6State, phy_num, 0), > DEFINE_PROP_END_OF_LIST(), > }; > diff --git a/hw/arm/fsl-imx6ul.c b/hw/arm/fsl-imx6ul.c > index 19f443570b..1e0bbbb5d7 100644 > --- a/hw/arm/fsl-imx6ul.c > +++ b/hw/arm/fsl-imx6ul.c > @@ -718,7 +718,7 @@ static void fsl_imx6ul_realize(DeviceState *dev, Error **errp) > FSL_IMX6UL_OCRAM_ALIAS_ADDR, &s->ocram_alias); > } > > -static Property fsl_imx6ul_properties[] = { > +static const Property fsl_imx6ul_properties[] = { > DEFINE_PROP_UINT32("fec1-phy-num", FslIMX6ULState, phy_num[0], 0), > DEFINE_PROP_UINT32("fec2-phy-num", FslIMX6ULState, phy_num[1], 1), > DEFINE_PROP_BOOL("fec1-phy-connected", FslIMX6ULState, phy_connected[0], > diff --git a/hw/arm/fsl-imx7.c b/hw/arm/fsl-imx7.c > index 9f2ef34555..0310c15b0c 100644 > --- a/hw/arm/fsl-imx7.c > +++ b/hw/arm/fsl-imx7.c > @@ -736,7 +736,7 @@ static void fsl_imx7_realize(DeviceState *dev, Error **errp) > &s->caam); > } > > -static Property fsl_imx7_properties[] = { > +static const Property fsl_imx7_properties[] = { > DEFINE_PROP_UINT32("fec1-phy-num", FslIMX7State, phy_num[0], 0), > DEFINE_PROP_UINT32("fec2-phy-num", FslIMX7State, phy_num[1], 1), > DEFINE_PROP_BOOL("fec1-phy-connected", FslIMX7State, phy_connected[0], > diff --git a/hw/arm/integratorcp.c b/hw/arm/integratorcp.c > index feb0dd63df..ee6c7e0c0d 100644 > --- a/hw/arm/integratorcp.c > +++ b/hw/arm/integratorcp.c > @@ -694,7 +694,7 @@ static void integratorcp_machine_init(MachineClass *mc) > > DEFINE_MACHINE("integratorcp", integratorcp_machine_init) > > -static Property core_properties[] = { > +static const Property core_properties[] = { > DEFINE_PROP_UINT32("memsz", IntegratorCMState, memsz, 0), > DEFINE_PROP_END_OF_LIST(), > }; > diff --git a/hw/arm/msf2-soc.c b/hw/arm/msf2-soc.c > index c4999ebce3..5d7c3f2e5a 100644 > --- a/hw/arm/msf2-soc.c > +++ b/hw/arm/msf2-soc.c > @@ -222,7 +222,7 @@ static void m2sxxx_soc_realize(DeviceState *dev_soc, Error **errp) > create_unimplemented_device("usb", 0x40043000, 0x1000); > } > > -static Property m2sxxx_soc_properties[] = { > +static const Property m2sxxx_soc_properties[] = { > /* > * part name specifies the type of SmartFusion2 device variant(this > * property is for information purpose only. > diff --git a/hw/arm/npcm7xx.c b/hw/arm/npcm7xx.c > index af04c4b7ec..2960b63b59 100644 > --- a/hw/arm/npcm7xx.c > +++ b/hw/arm/npcm7xx.c > @@ -810,7 +810,7 @@ static void npcm7xx_realize(DeviceState *dev, Error **errp) > create_unimplemented_device("npcm7xx.spix", 0xfb001000, 4 * KiB); > } > > -static Property npcm7xx_properties[] = { > +static const Property npcm7xx_properties[] = { > DEFINE_PROP_LINK("dram-mr", NPCM7xxState, dram, TYPE_MEMORY_REGION, > MemoryRegion *), > DEFINE_PROP_END_OF_LIST(), > diff --git a/hw/arm/nrf51_soc.c b/hw/arm/nrf51_soc.c > index ac53441630..43fac8a8db 100644 > --- a/hw/arm/nrf51_soc.c > +++ b/hw/arm/nrf51_soc.c > @@ -208,7 +208,7 @@ static void nrf51_soc_init(Object *obj) > s->sysclk = qdev_init_clock_in(DEVICE(s), "sysclk", NULL, NULL, 0); > } > > -static Property nrf51_soc_properties[] = { > +static const Property nrf51_soc_properties[] = { > DEFINE_PROP_LINK("memory", NRF51State, board_memory, TYPE_MEMORY_REGION, > MemoryRegion *), > DEFINE_PROP_UINT32("sram-size", NRF51State, sram_size, NRF51822_SRAM_SIZE), > diff --git a/hw/arm/smmu-common.c b/hw/arm/smmu-common.c > index 3f82728758..6baa9d0fc3 100644 > --- a/hw/arm/smmu-common.c > +++ b/hw/arm/smmu-common.c > @@ -934,7 +934,7 @@ static void smmu_base_reset_hold(Object *obj, ResetType type) > g_hash_table_remove_all(s->iotlb); > } > > -static Property smmu_dev_properties[] = { > +static const Property smmu_dev_properties[] = { > DEFINE_PROP_UINT8("bus_num", SMMUState, bus_num, 0), > DEFINE_PROP_LINK("primary-bus", SMMUState, primary_bus, > TYPE_PCI_BUS, PCIBus *), > diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c > index 6e847e8773..026838f9ac 100644 > --- a/hw/arm/smmuv3.c > +++ b/hw/arm/smmuv3.c > @@ -1976,7 +1976,7 @@ static const VMStateDescription vmstate_smmuv3 = { > } > }; > > -static Property smmuv3_properties[] = { > +static const Property smmuv3_properties[] = { > /* > * Stages of translation advertised. > * "1": Stage 1 > diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c > index 376746251e..7fc13d96c9 100644 > --- a/hw/arm/stellaris.c > +++ b/hw/arm/stellaris.c > @@ -438,7 +438,7 @@ static const VMStateDescription vmstate_stellaris_sys = { > } > }; > > -static Property stellaris_sys_properties[] = { > +static const Property stellaris_sys_properties[] = { > DEFINE_PROP_UINT32("user0", ssys_state, user0, 0), > DEFINE_PROP_UINT32("user1", ssys_state, user1, 0), > DEFINE_PROP_UINT32("did0", ssys_state, did0, 0), > diff --git a/hw/arm/strongarm.c b/hw/arm/strongarm.c > index 612115ab5b..4c4ff21e80 100644 > --- a/hw/arm/strongarm.c > +++ b/hw/arm/strongarm.c > @@ -1332,7 +1332,7 @@ static const VMStateDescription vmstate_strongarm_uart_regs = { > }, > }; > > -static Property strongarm_uart_properties[] = { > +static const Property strongarm_uart_properties[] = { > DEFINE_PROP_CHR("chardev", StrongARMUARTState, chr), > DEFINE_PROP_END_OF_LIST(), > }; > diff --git a/hw/arm/xlnx-versal.c b/hw/arm/xlnx-versal.c > index 3a1e2e29f1..3adbe7b1fb 100644 > --- a/hw/arm/xlnx-versal.c > +++ b/hw/arm/xlnx-versal.c > @@ -968,7 +968,7 @@ static void versal_init(Object *obj) > "mr-rpu-ps-alias", &s->mr_ps, 0, UINT64_MAX); > } > > -static Property versal_properties[] = { > +static const Property versal_properties[] = { > DEFINE_PROP_LINK("ddr", Versal, cfg.mr_ddr, TYPE_MEMORY_REGION, > MemoryRegion *), > DEFINE_PROP_LINK("canbus0", Versal, lpd.iou.canbus[0], > diff --git a/hw/arm/xlnx-zynqmp.c b/hw/arm/xlnx-zynqmp.c > index ab2d50e31b..1082c62c30 100644 > --- a/hw/arm/xlnx-zynqmp.c > +++ b/hw/arm/xlnx-zynqmp.c > @@ -857,7 +857,7 @@ static void xlnx_zynqmp_realize(DeviceState *dev, Error **errp) > } > } > > -static Property xlnx_zynqmp_props[] = { > +static const Property xlnx_zynqmp_props[] = { > DEFINE_PROP_STRING("boot-cpu", XlnxZynqMPState, boot_cpu), > DEFINE_PROP_BOOL("secure", XlnxZynqMPState, secure, false), > DEFINE_PROP_BOOL("virtualization", XlnxZynqMPState, virt, false),