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/dma/i82374.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/dma/i82374.c')
| -rw-r--r-- | hw/dma/i82374.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/i82374.c b/hw/dma/i82374.c index f6ddfc51c5..e72aa2e1ce 100644 --- a/hw/dma/i82374.c +++ b/hw/dma/i82374.c @@ -129,7 +129,7 @@ static void i82374_realize(DeviceState *dev, Error **errp) error_setg(errp, "DMA already initialized on ISA bus"); return; } - i8257_dma_init(isa_bus, true); + i8257_dma_init(OBJECT(dev), isa_bus, true); portio_list_init(&s->port_list, OBJECT(s), i82374_portio_list, s, "i82374"); |