diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-07 16:26:12 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-15 16:58:46 +0100 |
commit | 2e0b925a341ddaa4be577542c74aa19b992215c0 (patch) | |
tree | 2262e31d0733719a122233524cd560b766429080 /hw/virtio/virtio-net-pci.c | |
parent | 7188dfcda239ff2460fe8b0994e22e4b3a21dc17 (diff) | |
download | qemu-2e0b925a341ddaa4be577542c74aa19b992215c0.zip qemu-2e0b925a341ddaa4be577542c74aa19b992215c0.tar.gz qemu-2e0b925a341ddaa4be577542c74aa19b992215c0.tar.bz2 |
hw/rx/rx62n: Only call qdev_get_gpio_in() when necessary
Instead of filling an array of all the possible IRQs, only call
qdev_get_gpio_in() when an IRQ is used. Remove the array from
RX62NState. Doing so we avoid calling qdev_get_gpio_in() on an
unrealized device.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240213130341.1793-4-philmd@linaro.org>
Diffstat (limited to 'hw/virtio/virtio-net-pci.c')
0 files changed, 0 insertions, 0 deletions