1. 30 4月, 2015 1 次提交
  2. 10 3月, 2015 1 次提交
  3. 02 10月, 2014 1 次提交
  4. 04 6月, 2014 1 次提交
  5. 16 5月, 2014 2 次提交
  6. 12 3月, 2014 1 次提交
  7. 10 3月, 2014 1 次提交
  8. 05 3月, 2014 12 次提交
  9. 03 12月, 2013 1 次提交
  10. 23 8月, 2013 1 次提交
  11. 23 5月, 2013 1 次提交
  12. 25 4月, 2013 2 次提交
  13. 19 4月, 2013 1 次提交
  14. 11 2月, 2013 1 次提交
  15. 19 12月, 2012 5 次提交
  16. 27 9月, 2012 3 次提交
  17. 06 9月, 2012 2 次提交
    • A
      qapi: convert sendkey · e4c8f004
      Amos Kong 提交于
      Convert 'sendkey' to use QAPI.
      
      QAPI passes key's index of mapping table to qmp_send_key(),
      not keycode. So we use help functions to convert key/code to
      index of key_defs, and 'index' will be converted to 'keycode'
      inside qmp_send_key().
      
      For qmp, QAPI would check invalid key and raise error.
      For hmp, invalid key is checked in hmp_send_key().
      
      'send-key' of QMP doesn't support key in hexadecimal format.
      Signed-off-by: NAmos Kong <akong@redhat.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      e4c8f004
    • A
      monitor: move key_defs[] table and introduce two help functions · 1048c88f
      Amos Kong 提交于
      This patch added two help functions to convert key/code to index of
      mapping table, those functions will return Q_KEY_CODE_MAX if the
      code/key is invalid.
      
      Patch also moved key_defs[] to input.c, and removed useless KeyDef struct.
      Key's index in QKeyCode enmu is same as keycode's index in new key_defs[].
      Monitor functions were changed to access key_defs[] directly.
      
      key_defs[] is used in do_send_key(), so export key_defs[]. It will be
      changed to static in next patch.
      Signed-off-by: NAmos Kong <akong@redhat.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      1048c88f
  18. 09 5月, 2012 1 次提交
    • L
      runstate: introduce suspended state · ad02b96a
      Luiz Capitulino 提交于
      QEMU enters in this state when the guest suspends to ram (S3).
      
      This is important so that HMP users and QMP clients can know that
      the guest is suspended. QMP also has an event for this, but events
      are not reliable and are limited (ie. a client can connect to QEMU
      after the event has been emitted).
      
      Having a different state for S3 brings a new issue, though. Every
      device that doesn't run when the VM is stopped but wants to run
      when the VM is suspended has to check for RUN_STATE_SUSPENDED
      explicitly. This is the case for the keyboard and mouse devices,
      for example.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      Acked-by: NGerd Hoffmann <kraxel@redhat.com>
      ad02b96a
  19. 18 2月, 2012 1 次提交
  20. 17 2月, 2012 1 次提交