pckbd: add mask qdev property to I8042_MMIO device
commitd4f5b4d87945d2a0f02fea8b42439d24c809c458
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 24 Jun 2022 13:40:38 +0000 (24 14:40 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 26 Jun 2022 17:40:11 +0000 (26 18:40 +0100)
tree9ba116c709c5b0ee18c6f18fa8da795aa6c38f0d
parent57f6c3aac08d16eb7fe4a447dbbbfeb314d39234
pckbd: add mask qdev property to I8042_MMIO device

This allows the KBDState mask value to be set using a qdev property rather
than directly in i8042_mm_init().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20220624134109.881989-24-mark.cave-ayland@ilande.co.uk>
hw/input/pckbd.c