qdev: Use machine_get_container()
authorPeter Xu <peterx@redhat.com>
Thu, 21 Nov 2024 19:21:59 +0000 (14:21 -0500)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 9 Jan 2025 17:16:24 +0000 (18:16 +0100)
commit1c34335844950a152c020ec80ce7cf711b1861bc
tree78ca12c4d57c25cad2c6ec32b7afc4142de9fc88
parent41fc91772841c93c218df78d7e359cb2cd00dff5
qdev: Use machine_get_container()

Use machine_get_container() whenever applicable across the tree.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241121192202.4155849-11-peterx@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/core/gpio.c
hw/core/qdev.c
hw/core/sysbus.c
hw/i386/pc.c
system/ioport.c
system/memory.c
system/qdev-monitor.c
system/vl.c