Hi, This patch series adds support for keyboard led status tracking to qemu. The first patch adds the infrastructure to set the led status and to register notify callbacks. Patches #2 and #3 add support for the usb and ps/2 keyboard drivers. Patch #4 makes vnc use the led notification to improve capslock and numlock status tracking. spice will use the kbd led notifiers too.
Changes in v2: - use QTAILQ for the handler list. - add a comment saying our constants are identical to ps/2 ones. - improve vnc patch description. cheers, Gerd