summary refs log tree commit diff stats
path: root/hw/hyperv/vmbus.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 15:35:45 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:54:59 -0600
commite923f5e1b853ac80e96b416143300af9d189af8e (patch)
treec0a947cab9beb57fa8a23cf924783a88ecc62673 /hw/hyperv/vmbus.c
parentde531a6bd46e5a46b4e7a5f7ec66abb4f82e6207 (diff)
downloadfocaccia-qemu-e923f5e1b853ac80e96b416143300af9d189af8e.tar.gz
focaccia-qemu-e923f5e1b853ac80e96b416143300af9d189af8e.zip
hw/hyperv: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/hyperv/vmbus.c')
-rw-r--r--hw/hyperv/vmbus.c4
1 files changed, 2 insertions, 2 deletions
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()
 };