mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03: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
|
@ -310,7 +310,7 @@ static void pc_init1(MachineState *machine,
|
|||
qdev_prop_set_int32(DEVICE(rtc_state), "base_year", 2000);
|
||||
isa_realize_and_unref(rtc_state, isa_bus, &error_fatal);
|
||||
|
||||
i8257_dma_init(isa_bus, 0);
|
||||
i8257_dma_init(OBJECT(machine), isa_bus, 0);
|
||||
pcms->hpet_enabled = false;
|
||||
idebus[0] = NULL;
|
||||
idebus[1] = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue