diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-13 12:42:14 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-15 16:58:46 +0100 |
| commit | 5e37bc4997c32a1c9a6621a060462c84df9f1b8f (patch) | |
| tree | 117f3dab4919e29e8fe865aaaf0cd98c304a692e /hw/isa/lpc_ich9.c | |
| parent | 3c5f86a22686ef475a8259c0d8ee714f61c770c9 (diff) | |
| download | focaccia-qemu-5e37bc4997c32a1c9a6621a060462c84df9f1b8f.tar.gz focaccia-qemu-5e37bc4997c32a1c9a6621a060462c84df9f1b8f.zip | |
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>
Diffstat (limited to 'hw/isa/lpc_ich9.c')
| -rw-r--r-- | hw/isa/lpc_ich9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/lpc_ich9.c b/hw/isa/lpc_ich9.c index 3924eec483..70c6e8a093 100644 --- a/hw/isa/lpc_ich9.c +++ b/hw/isa/lpc_ich9.c @@ -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); |