]> www.infradead.org Git - users/dwmw2/qemu.git/commit
qdev: Add machine_get_container()
authorPeter Xu <peterx@redhat.com>
Thu, 21 Nov 2024 19:21:58 +0000 (14:21 -0500)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 9 Jan 2025 17:16:24 +0000 (18:16 +0100)
commit41fc91772841c93c218df78d7e359cb2cd00dff5
tree3338137939c1d32cdb3648582f8ec59e03dedd87
parent63450f322bf76faab7add3def89815d9198492dc
qdev: Add machine_get_container()

Add a helper to fetch machine containers.  Add some sanity check around.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-ID: <20241121192202.4155849-10-peterx@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/core/qdev.c
include/hw/qdev-core.h