1. 02 6月, 2010 14 次提交
  2. 25 5月, 2010 1 次提交
  3. 11 5月, 2010 1 次提交
  4. 04 5月, 2010 2 次提交
  5. 26 4月, 2010 1 次提交
  6. 10 4月, 2010 1 次提交
  7. 20 3月, 2010 1 次提交
  8. 18 3月, 2010 1 次提交
  9. 17 3月, 2010 1 次提交
  10. 16 3月, 2010 1 次提交
    • M
      monitor: Separate "default monitor" and "current monitor" cleanly · 8631b608
      Markus Armbruster 提交于
      Commits 376253ec..731b0364 introduced global variable cur_mon, which
      points to the "default monitor" (if any), except during execution of
      monitor_read() or monitor_control_read() it points to the monitor from
      which we're reading instead (the "current monitor").  Monitor command
      handlers run within monitor_read() or monitor_control_read().
      
      Default monitor and current monitor are really separate things, and
      squashing them together is confusing and error-prone.
      
      For instance, usb_host_scan() can run both in "info usbhost" and
      periodically via usb_host_auto_check().  It prints to cur_mon, which
      is what we want in the former case: the monitor executing "info
      usbhost".  But since that's the default monitor in the latter case, it
      periodically spams the default monitor there.
      
      A few places use cur_mon to log stuff to the default monitor.  If we
      ever log something while cur_mon points to current monitor instead of
      default monitor, the log temporarily "jumps" to another monitor.
      Whether that can or cannot happen isn't always obvious.
      
      Maybe logging to the default monitor (which may not even exist) is a
      bad idea, and we should log to stderr or a logfile instead.  But
      that's outside the scope of this commit.
      
      Change cur_mon to point to the current monitor.  Create new
      default_mon to point to the default monitor.  Update users of cur_mon
      accordingly.
      
      This fixes the periodical spamming of the default monitor by
      usb_host_scan().  It also stops "log jumping", should that problem
      exist.
      8631b608
  11. 09 3月, 2010 1 次提交
    • G
      kbd keds: vnc · 7ffb82ca
      Gerd Hoffmann 提交于
      Use led status notification support in vnc.
      
      The qemu vnc server keeps track of the capslock and numlock states based
      on the key presses it receives from the vnc client.  But this fails in
      case the guests idea of the capslock and numlock state changes for other
      reasons.  One case is guest reboot (+ keyboard reset).  Another case are
      more recent windows versions which reset capslock state before
      presenting the login screen.
      
      Usually guests use the keyboard leds to signal the capslock and numlock
      state to the user, so we can use this to better keep track of capslock
      and numlock state in the qemu vnc server.
      
      Also toggle the numlock and capslock states on keydown events (instead
      of keyup).  Guests do the same.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      7ffb82ca
  12. 07 3月, 2010 1 次提交
  13. 11 2月, 2010 1 次提交
  14. 06 2月, 2010 1 次提交
  15. 27 1月, 2010 1 次提交
  16. 20 1月, 2010 9 次提交
  17. 13 1月, 2010 1 次提交
  18. 12 12月, 2009 1 次提交