On Sun, 22 May 2022 at 19:20, Mark Cave-Ayland
<[email protected]> wrote:
>
> Define a new qdev input gpio for handling incoming PS2 IRQs, and then wire up 
> the
> PS2 keyboard and mouse devices to use it. At the same time set update_irq() 
> and
> update_arg to NULL in ps2_kbd_init() and ps2_mouse_init() to ensure that any
> accidental attempt to use the legacy update_irq() function will cause a NULL
> pointer dereference.
>
> Signed-off-by: Mark Cave-Ayland <[email protected]>
> ---
>  hw/input/pckbd.c | 33 +++++++++++++++++++++++++++------
>  1 file changed, 27 insertions(+), 6 deletions(-)

Same remark about preferring named-gpio for the internal-implementation
irqs, but otherwise
Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to