1. 11 9月, 2012 7 次提交
  2. 05 9月, 2012 1 次提交
    • A
      qxl: add QXL_IO_MONITORS_CONFIG_ASYNC · 020af1c4
      Alon Levy 提交于
      Revision bumped to 4 for new IO support, enabled for spice-server >=
      0.11.1. New io enabled if revision is 4. Revision can be set to 4.
      
      [ kraxel: 3 continues to be the default revision.  Once we have a new
                stable spice-server release and the qemu patches to enable
                the new bits merged we'll go flip the switch and make rev4
                the default ]
      
      This io calls the corresponding new spice api
      spice_qxl_monitors_config_async to let spice-server read a new guest set
      monitors config and notify the client.
      
      On migration reissue spice_qxl_monitors_config_async.
      
      RHBZ: 770842
      Signed-off-by: NAlon Levy <alevy@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      
      fixup
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      020af1c4
  3. 16 8月, 2012 2 次提交
  4. 27 7月, 2012 2 次提交
  5. 26 7月, 2012 1 次提交
  6. 17 7月, 2012 2 次提交
  7. 14 7月, 2012 4 次提交
  8. 12 7月, 2012 2 次提交
    • G
      ehci: implement Interrupt Threshold Control support · 7efc17af
      Gerd Hoffmann 提交于
      Also reorganize and comment the irq functions while being at it.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      7efc17af
    • G
      usb: add usb attached scsi emulation · 0f58f68b
      Gerd Hoffmann 提交于
      $subject says all.  First cut.
      
      It's a pure UAS (usb attached scsi) emulation, without BOT (bulk-only
      transport) compatibility.  If your guest can't handle it use usb-storage
      instead.
      
      The emulation works like any other scsi hba emulation (eps, lsi, virtio,
      megasas, ...).  It provides just the HBA where you can attach scsi
      devices as you like using '-device'.  A single scsi target with up to
      256 luns is supported.
      
      For now only usb 2.0 transport is supported.  This will change in the
      future though as I plan to use this as playground when codeing up &
      testing usb 3.0 transport and streams support in the qemu usb core and
      the xhci emulation.
      
      No migration support yet.  I'm planning to add usb 3.0 support first as
      this probably requires saving additional state.
      
      Special thanks go to Paolo for bringing the qemu scsi emulation into
      shape, so this can be added nicely without having to touch a single line
      of scsi code.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      0f58f68b
  9. 09 7月, 2012 1 次提交
  10. 02 7月, 2012 1 次提交
  11. 29 6月, 2012 1 次提交
  12. 20 6月, 2012 1 次提交
  13. 16 6月, 2012 1 次提交
    • D
      Add rate limiting of RTC_CHANGE, BALLOON_CHANGE & WATCHDOG events · afeecec2
      Daniel P. Berrange 提交于
      Allow certain event types to be rate limited to avoid flooding
      monitor clients. The monitor_protocol_event() method is changed
      such that instead of immediately emitting the event to Monitor
      instances, it will call a new monitor_protocol_event_queue()
      method.
      
      This will check to see if the rate limit for the event has been
      exceeded, and if so schedule a timer to wakeup at the end of the
      rate limit period. If further events arrive before the timer fires,
      the previously queued event will be discarded in favour of the new
      event. The event will eventually be emitted when the timer fires.
      
      This logic is applied to RTC_CHANGE, BALLOON_CHANGE & WATCHDOG
      events, since the data associated with these events is stateless
      
       * monitor.c: Add support for rate limiting
       * monitor.h: Define monitor_global_init for one-time setup tasks
       * vl.c: Invoke monitor_global_init
       * trace-events: Add hooks for monitor event tracing
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Acked-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      afeecec2
  14. 07 6月, 2012 10 次提交
  15. 28 5月, 2012 1 次提交
  16. 18 4月, 2012 1 次提交
  17. 17 4月, 2012 2 次提交
    • G
      usb-host: rewrite usb_linux_update_endp_table · 96dd9aac
      Gerd Hoffmann 提交于
      This patch carries a complete rewrite of the usb descriptor parser.
      Changes / improvements:
      
       * We are using the USBDescriptor struct instead of hard-coded offsets
         now to access descriptor data.
       * (debug) printfs are all gone, tracepoints have been added instead.
       * We don't try (and fail) to skip over unneeded descriptors.  We parse
         them all one by one.  We keep track of which configuration, interface
         and altsetting we are looking at and use this information to figure
         which desciptors are in use and which we can ignore.
       * On parse errors we clear all endpoint information, which will
         disallow any communication with the device, except control endpoint
         messages.  This makes sure we don't end up with a silly device state
         where half of the endpoints got enabled and the other half was left
         disabled.
       * Some sanity checks have been added.
      
      The new parser is more robust and also leaves complete device
      information in the trace log if you enable the ush_host_parse_*
      tracepoints.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      96dd9aac
    • G
      usb-hub: add tracepoints · 529f8f9f
      Gerd Hoffmann 提交于
      Add tracepoints to the usb hub emulation.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      529f8f9f