]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/core/qdev-properties: Constify Property argument to object_field_prop_ptr
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 18 Dec 2024 13:42:49 +0000 (07:42 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 Dec 2024 18:36:37 +0000 (19:36 +0100)
commite9c0346a958a87c573229ceaacbc99a05337bad4
tree8dec54629f3d744db6bab5f41f006f715205374d
parentef1ac71ff0f2272ab8af4419597ba204e498766f
hw/core/qdev-properties: Constify Property argument to object_field_prop_ptr

This logically should have accompanied d36f165d952 which
allowed const Property to be registered.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Lei Yang <leiyang@redhat.com>
Link: https://lore.kernel.org/r/20241218134251.4724-23-richard.henderson@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/qdev-properties.c
include/hw/qdev-properties.h