[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 26/67] hw/hyperv: Constify all Property
From: |
Richard Henderson |
Subject: |
[PULL 26/67] hw/hyperv: Constify all Property |
Date: |
Sun, 15 Dec 2024 13:04:52 -0600 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/hyperv/hv-balloon.c | 2 +-
hw/hyperv/syndbg.c | 2 +-
hw/hyperv/vmbus.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/hyperv/hv-balloon.c b/hw/hyperv/hv-balloon.c
index 3a9ef07691..74897b1604 100644
--- a/hw/hyperv/hv-balloon.c
+++ b/hw/hyperv/hv-balloon.c
@@ -1733,7 +1733,7 @@ static void hv_balloon_finalize(Object *obj)
hv_balloon_unrealize_finalize_common(balloon);
}
-static Property hv_balloon_properties[] = {
+static const Property hv_balloon_properties[] = {
DEFINE_PROP_BOOL("status-report", HvBalloon,
status_report.enabled, false),
diff --git a/hw/hyperv/syndbg.c b/hw/hyperv/syndbg.c
index 065e12fb1e..0193addd42 100644
--- a/hw/hyperv/syndbg.c
+++ b/hw/hyperv/syndbg.c
@@ -366,7 +366,7 @@ static const VMStateDescription vmstate_hv_syndbg = {
.unmigratable = 1,
};
-static Property hv_syndbg_properties[] = {
+static const Property hv_syndbg_properties[] = {
DEFINE_PROP_STRING("host_ip", HvSynDbg, host_ip),
DEFINE_PROP_UINT16("host_port", HvSynDbg, host_port, 50000),
DEFINE_PROP_BOOL("use_hcalls", HvSynDbg, use_hcalls, false),
diff --git a/hw/hyperv/vmbus.c b/hw/hyperv/vmbus.c
index b36bd3d67d..3d1f4d14e8 100644
--- a/hw/hyperv/vmbus.c
+++ b/hw/hyperv/vmbus.c
@@ -2346,7 +2346,7 @@ static void vmbus_dev_unrealize(DeviceState *dev)
free_channels(vdev);
}
-static Property vmbus_dev_props[] = {
+static const Property vmbus_dev_props[] = {
DEFINE_PROP_UUID("instanceid", VMBusDevice, instanceid),
DEFINE_PROP_END_OF_LIST()
};
@@ -2653,7 +2653,7 @@ static const VMStateDescription vmstate_vmbus_bridge = {
},
};
-static Property vmbus_bridge_props[] = {
+static const Property vmbus_bridge_props[] = {
DEFINE_PROP_UINT8("irq", VMBusBridge, irq, 7),
DEFINE_PROP_END_OF_LIST()
};
--
2.43.0
- [PULL 29/67] hw/ide: Constify all Property, (continued)
- [PULL 29/67] hw/ide: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 33/67] hw/ipmi: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 34/67] hw/isa: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 37/67] hw/mips: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 27/67] hw/i2c: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 24/67] hw/dma: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 31/67] hw/intc: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 32/67] hw/ipack: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 35/67] hw/m68k: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 38/67] hw/misc/xlnx-versal-trng: Constify trng_props, Richard Henderson, 2024/12/15
- [PULL 26/67] hw/hyperv: Constify all Property,
Richard Henderson <=
- [PULL 39/67] hw/misc: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 41/67] hw/nubus: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 40/67] hw/net: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 43/67] hw/nvram: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 44/67] hw/pci-bridge: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 45/67] hw/pci-host: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 46/67] hw/pci: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 47/67] hw/ppc: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 42/67] hw/nvme: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 51/67] hw/rx: Constify all Property, Richard Henderson, 2024/12/15