adb.c: include ADBDevice parent state in KBDState and MouseState
commite5dffaa5b19b284718b40a4aba01abf0bcdabf7a
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Mon, 9 Feb 2015 22:40:45 +0000 (9 22:40 +0000)
committerAlexander Graf <agraf@suse.de>
Mon, 9 Mar 2015 14:00:04 +0000 (9 15:00 +0100)
treeaaa3f0026b0a9b7ad03372f9ee99166e2c731131
parent026359238b50f56a90961d9aa62ef303371eca8c
adb.c: include ADBDevice parent state in KBDState and MouseState

The parent ADBDevice contains the device id on the ADB bus. Make sure that
this state is included in both its subclasses since some clients (such as
OpenBIOS) reprogram each device id after enumeration.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/input/adb.c