]> git.proxmox.com Git - mirror_qemu.git/commit
hw/qdev: Constify DeviceState* argument of qdev_get_parent_bus()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 12 Feb 2023 22:26:59 +0000 (23:26 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:01 +0000 (22:29 +0100)
commit2d2f2507c65bbb79bb2f0157db3f73ec114d9b32
treecc39917a2fd43b84de7a0e1b5d610e15e92310ed
parent12a51d983de118cf2258fe238b22fabedb4a5ffc
hw/qdev: Constify DeviceState* argument of qdev_get_parent_bus()

The structure is accessed read-only by qdev_get_parent_bus().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230212224730.51438-2-philmd@linaro.org>
hw/core/qdev.c
include/hw/qdev-core.h