diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-06-24 14:40:23 +0100 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-06-26 18:40:11 +0100 |
commit | 108cb22e4837a36bc22959a612f8bb50471139f6 (patch) | |
tree | 52332e995f93cd915d043b1e5c1164a6244feac9 /hw/nvme/Kconfig | |
parent | 494145b28644dee66c1125c33ba55a02d5585db7 (diff) | |
download | qemu-108cb22e4837a36bc22959a612f8bb50471139f6.zip qemu-108cb22e4837a36bc22959a612f8bb50471139f6.tar.gz qemu-108cb22e4837a36bc22959a612f8bb50471139f6.tar.bz2 |
ps2: implement ps2_reset() for the PS2_DEVICE QOM type based upon ps2_common_reset()
The functionality of ps2_common_reset() can be moved into a new ps2_reset() function
for the PS2_DEVICE QOM type. Update PS2DeviceClass to hold a reference to the parent
reset function and update the PS2_KBD_DEVICE and PS2_MOUSE_DEVICE types to use
device_class_set_parent_reset() accordingly.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <20220624134109.881989-9-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/nvme/Kconfig')
0 files changed, 0 insertions, 0 deletions