Hi, > When access a guest by console through VNC, there might be > mismatch between the lock keys notification LED on the computer > running the VNC client session and the current status of the lock > keys on the guest machine. This happens because the VNC protocol > does not have any support to deal with setting led state.
What is the exact issue you are trying to fix here? The vnc server code in qemu already tracks the keyboard led state and will insert synthetic key events if needed to make sure vnc client and guest machine stay in sync. cheers, Gerd