]> git.proxmox.com Git - mirror_qemu.git/commit
hw/isa/lpc_ich9: Eliminate ICH9LPCState::isa_bus
authorBernhard Beschow <shentey@gmail.com>
Mon, 13 Feb 2023 17:30:24 +0000 (18:30 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:01 +0000 (22:29 +0100)
commit958f818230e07ab016b873d3006234f584572607
tree36728fc5c29cbfb1da39cccaf352980cbdb8a73f
parent29a457cbbc90a9938f8ca3d6bf397e99b9559e58
hw/isa/lpc_ich9: Eliminate ICH9LPCState::isa_bus

By using qdev_get_child_bus() we can eliminate ICH9LPCState::isa_bus and
spare the ich9_lpc variable in pc_q35, too.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230213173033.98762-4-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/pc_q35.c
hw/isa/lpc_ich9.c
include/hw/i386/ich9.h