hw/virtio: Constify all Property

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2024-12-13 17:29:25 +00:00
parent d3eb6f73e1
commit 1577a9180f
38 changed files with 39 additions and 39 deletions

View file

@ -4012,7 +4012,7 @@ static void virtio_device_instance_finalize(Object *obj)
g_free(vdev->vector_queues);
}
static Property virtio_properties[] = {
static const Property virtio_properties[] = {
DEFINE_VIRTIO_COMMON_FEATURES(VirtIODevice, host_features),
DEFINE_PROP_BOOL("use-started", VirtIODevice, use_started, true),
DEFINE_PROP_BOOL("use-disabled-flag", VirtIODevice, use_disabled_flag, true),