mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
hw/dma: Pass parent object to i8257_dma_init()
Set I8257 instances parent (migration isn't affected). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240213114426.87836-1-philmd@linaro.org>
This commit is contained in:
parent
3c5f86a226
commit
5e37bc4997
8 changed files with 10 additions and 8 deletions
|
@ -739,7 +739,7 @@ static void ich9_lpc_realize(PCIDevice *d, Error **errp)
|
|||
|
||||
isa_bus_register_input_irqs(isa_bus, lpc->gsi);
|
||||
|
||||
i8257_dma_init(isa_bus, 0);
|
||||
i8257_dma_init(OBJECT(d), isa_bus, 0);
|
||||
|
||||
/* RTC */
|
||||
qdev_prop_set_int32(DEVICE(&lpc->rtc), "base_year", 2000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue