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

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

There is exactly one instance of this method: print_pci_devfn.

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-24-richard.henderson@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/qdev-properties-system.c
include/hw/qdev-properties.h