• A
    adb: QOM'ify ADB devices · 2e4a7c9c
    Andreas Färber 提交于
    They were not qdev'ified before. Derive ADBDevice from DeviceState and
    convert reset callbacks to DeviceClass::reset, ADBDevice::opaque pointer
    to ADBDevice subtypes for mouse and keyboard and adb_{kbd,mouse}_init()
    to regular qdev functions.
    
    Fixing Coding Style issues and splitting keyboard and mouse off into
    their own files is left for a later point in time.
    Signed-off-by: NAndreas Färber <afaerber@suse.de>
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    2e4a7c9c
adb.c 15.0 KB