• D
    ui: normalize the 'sysrq' key into the 'print' key · 80b857f0
    Daniel P. Berrange 提交于
    The 'sysrq' key was mistakenly added to QEMU to deal with incorrect handling
    of the 'print' key in the ps2 device:
    
      commit f2289cb6
      Author: balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
      Date:   Wed Jun 4 10:14:16 2008 +0000
    
        Add sysrq to key names known by "sendkey".
    
        Adding sysrq keycode to the table enabling running sysrq debugging in
        the guest via the monitor sendkey command, like:
    
        (qemu) sendkey alt-sysrq-t
    
        Tested on x86-64 target and Linux guest.
    Signed-off-by: NRyan Harper <ryanh@us.ibm.com>
    
    The ps2 device is now fixed wrt modifiers and the 'print' key. Further the
    handling of the 'sysrq' key has some problems of its own, documented in the
    previous commit. To cleanup this mess, we convert any use of 'sysrq' into
    'print' prior to dispatching the event to device models.
    Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
    Message-id: 20171019142848.572-9-berrange@redhat.com
    Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
    80b857f0
ui.json 25.7 KB